[csw-maintainers] question on libtool and -xnorunpath
Dagobert Michelsen
dam at opencsw.org
Tue Oct 26 11:09:25 CEST 2010
Hi Phil,
Am 25.10.2010 um 23:43 schrieb Philip Brown <phil at bolthole.com>:
> I've been messing around with some GNU software at work,and I hit the
> following issue:
>
> (when you are starting with a full autoconf ./configure type software
> distribution...)
> Does anyone know how to coax libtool into accepting -norunpath, JUST
> at link time?
>
> The program in question uses, in its makefile,
>
> libtool --mode=link --tag=CXX
>
>
> I cant just use LDFLAGS=-norunpath, because that would break plain C programs
> Putting it in CXXFLAGS "works" (after using our libtool patches). but
> it is really annoying with the repeated whines from the compiler,
> "CC: Warning: Option -xnorunpath passed to ld, if ld is invoked,
> ignored otherwise"
>
> Has anyone come up with a better solution?
It is easiest to set CXX=.../CC -norunpath
I changed it this way in gar and it works quite well. Patching ltmain.sh works but is tedious.
Best regards
-- Dago
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers
> .:: This mailing list's archive is public. ::.
More information about the maintainers
mailing list