help-gnu-utils
[Top][All Lists]
Advanced

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

How to force -liberty?


From: Kilian A. Foth
Subject: How to force -liberty?
Date: 28 Jul 2004 12:50:51 GMT
User-agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u))

I'm trying to compile a largish autoconf'ed project (KDE) on an
outlandish platform (Solaris) and working around many Linuxisms in the
sources. The latest one has me stumped: files use vasprintf() under the
assumption that this would be provided by the standard libraries, but
on Solaris it isn't. That would be no big problem; I know that
linking to libiberty fixes that, but I can't for the life of me figure
out where to put the `-liberty' to that the build process picks it up.

The usual solutions of adding it to CXXFLAGS, to the Makefile etc.
don't work. I even ran amok and hacked the local libtool to include it
unconditionally -- no success. How do I tell the autoconf system "Yes,
I do need libiberty unconditionally!' ?


-- 
No animal was harmed in the composition of this message.



reply via email to

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