Re: Accounting for -rpath when libtool isn't helping

Thomas Jahns <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
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 <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.