Hello Paul, On 2/6/19 2:21 PM, Paul "LeoNerd" Evans wrote:
Nowthen - my actual question concerns what happens when I am not using libtool to build my program. Such a case is common when building C-level integration libraries for dynamic languages (Perl in my case). I can't get libtool to directly build the code in question, because Perl has its own build tooling. I can ask pkg-config what it thinks of the --cflags and --libs to link against the library, but without getting libtool involved in the magic step above, I don't get the -rpath argument added.
Have you tried setting something like CC='libtool cc' CFLAGS='--mode=compile -some -other -flags -youd -use' LDFLAGS='--mode=link -some -further -link -flags' ? Regards, Thomas -- Thomas Jahns HD(CP)^2 Abteilung Anwendungssoftware Deutsches Klimarechenzentrum GmbH Bundesstraße 45a • D-20146 Hamburg • Germany Phone: +49 40 460094-151 Fax: +49 40 460094-270 Email: Thomas Jahns <ja...@dkrz.de> URL: www.dkrz.de Geschäftsführer: Prof. Dr. Thomas Ludwig Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg HRB 39784 _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool