c - prevent autotools from setting rpath when compiling my program -


i'm working on example autotools project builds shared library , program. program should link shared library. when build program libtool set rpath this:

rpath=/usr/local/lib 

which don't want.

according debian wiki libtool isn't supposed set rpath when library in default search path (libtool's role).

according site /usr/local/lib should in default search path of linker.

the library , program build same autotools project, library not installed when program build.

does have idea why libtool sets rpath anyway?


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -