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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -