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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -