libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how does libtool order -Wl,--rpath?


From: Myles C. Maxfield
Subject: how does libtool order -Wl,--rpath?
Date: Wed, 26 Nov 2014 16:34:35 -0800

Sorry to resurrect an old thread, but I just ran into the problem at https://lists.gnu.org/archive/html/libtool/2003-07/msg00062.html. Does anyone know libtool handles this?

I'm trying to understand how a particular library that's installed on my system works, so I compiled a debug version and installed it into a folder in my home directory. However, whenever I use libtool to try to link with my debug version, it seems to always put /usr/local/lib at the front of the rpath. Is there some way to enforce ordering of the -Wl,-rpath arguments that libtool emits? I should note that all the necessary folders are in the rpath arguments; they're just in the wrong order.

I know I can solve my problem with LD_LIBRARY_PATH, but I'm trying to find a solution that doesn't require this.

Thanks,
Myles

reply via email to

[Prev in Thread] Current Thread [Next in Thread]