Re: rpath for an inter-library dependency

2015-02-11 Thread Marcin Zalewski
, 2015 at 5:28 PM, Marcin Zalewski > wrote: >> Hello. >> >> I have a contrib jemalloc library in my project that is not being >> built using libtool. When I build my libtool library, I add this to >> the link line: >> >> -ljemalloc -R/rpath/to/je

rpath for an inter-library dependency

2015-02-11 Thread Marcin Zalewski
Hello. I have a contrib jemalloc library in my project that is not being built using libtool. When I build my libtool library, I add this to the link line: -ljemalloc -R/rpath/to/jemalloc This works fine, and my .la file includes: dependency_libs=' -R/rpath/to/jemalloc -ljemalloc' However, whe