PDA

View Full Version : Setting LD_LIBRARY_PATH from Makefile?


Cherish76
September 5th, 2008, 11:00 AM
Hi,

I wanna set the LD_LIBRARY_PATH from within Makefile and am running 8.04. Can anyone let me know how to do it?

Cheers,
-Ram

stpg
December 6th, 2008, 10:26 AM
Hi,

I wanna set the LD_LIBRARY_PATH from within Makefile and am running 8.04. Can anyone let me know how to do it?

Cheers,
-Ram

-Wl,-rpath -Wl,path_to_shared_libraries