makefile for programs using libraries loaded at runtime

Hi everybody!

I would like to set in the makefile a path that should be the path where the program searches for the libraries loaded at run time.

Is there such a variable to be set in makefile?

Thanks in advance!

Add the full path to your libs in /etc/ld.so.conf then run ldconfig, you might set LD_LIBRARY_PATH as well ...