Passing environment variables in GNU Make (13)

1 Name: #!/usr/bin/anonymous : 2008-01-11 17:01 ID:WUg1DH7c

Hi

I am a user without root privileges that is compiling a library and program to be linked with the library using GNU Make invoked from tcsh on FreeBSD.

The problem i have is that i must myself manually set LD_LIBRARY_PATH in tcsh with setenv for the program to link properly with the library. I wish for make to do this somehow when it executes the linker commands.

So far i have not been able to figure out how, even though i have used things like passing variable declarations on the command line to make, and export.

This thread has been closed. You cannot post in this thread any longer.