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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -