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
Post a Comment