[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with --as-needed flag
From: |
Dan Nicholson |
Subject: |
Re: Problem with --as-needed flag |
Date: |
Tue, 23 Nov 2010 17:24:26 -0800 |
On Tue, Nov 23, 2010 at 4:33 PM, Sergio Belkin <address@hidden> wrote:
> 2010/11/23 Mike Frysinger <address@hidden>> On Tuesday, November
> 23, 2010 08:04:45 Sergio Belkin wrote:
>>> You can take a look the Makefile.am on:
>>>
>>> http://pastebin.com/jn4kiqTd
>>
>> please do not use pastebin type sites with mailing lists. post all your info
>> into the e-mail itself.
>> -mike
>>
>
> Mike, sorry, I thought it was more polite using pastebin in order to
> shorten the mail. I bet that you know about the topic beside
> netiquette, so Makefile.am below is:
>
> ACLOCAL_AMFLAGS= -I m4 --install
> lib_LTLIBRARIES = libUpTools.la
> libUpTools_la_SOURCES = UpLog.cc \
> UpLine.cc \
> UpThread.cc \
> UpThreadWorkDistributor.cc \
> UpInet.cc \
> UpDnsBase.cc \
> UpResolver.cc \
> UpResolverSimple.cc \
> UpDnsQuery.cc \
> UpDnsQuerySimple.cc \
> UpRegex.cc \
> UpConf.cc \
> UpLinkable.cc \
> UpOp.cc \
> UpTimeVal.cc \
> UpTimerManager.cc \
> UpSubstitute.cc \
> UpNaptrQuery.cc \
> UpSql.cc \
> UpSqlConnPool.cc
> pkginclude_HEADERS = include/UpTools/ci_string.h \
> include/UpTools/UpArch.h \
> include/UpTools/UpBuf.h \
> include/UpTools/UpCondition.h \
> include/UpTools/UpConf.h \
> include/UpTools/UpDnsBase.h \
> include/UpTools/UpDnsBase.inl \
> include/UpTools/UpHashMap.h \
> include/UpTools/UpInet.h \
> include/UpTools/UpInet.inl \
> include/UpTools/UpLine.h \
> include/UpTools/UpLog.h \
> include/UpTools/UpLog.inl \
> include/UpTools/UpNaptrQuery.h \
> include/UpTools/UpOp.h \
> include/UpTools/UpRegex.h \
> include/UpTools/UpResolver.h \
> include/UpTools/UpResolver.inl \
> include/UpTools/UpResolverSimple.h \
> include/UpTools/UpResolverSimple.inl \
> include/UpTools/UpSelect.h \
> include/UpTools/UpSmartLinkPtr.h \
> include/UpTools/UpSmartLinkPtr.inl \
> include/UpTools/UpSubstitute.h \
> include/UpTools/UpThread.h \
> include/UpTools/UpThread.inl \
> include/UpTools/UpThreadSpecific.h \
> include/UpTools/UpThreadSpecific.inl \
> include/UpTools/UpThreadWorkDistributor.h \
> include/UpTools/UpThreadWorkDistributor.inl \
> include/UpTools/UpTimer.h \
> include/UpTools/UpTimerManager.h \
> include/UpTools/UpTimeVal.h \
> include/UpTools/UpTimeVal.inl \
> include/UpTools/UpSql.h \
> include/UpTools/UpSql.inl \
> include/UpTools/UpSqlConnPool.h \
> include/UpTools/UpSqlConnPool.inl
> AM_LDFLAGS = --as-needed
Try using -Wl,--as-needed since this is a linker flag and libtool will
probably discard it otherwise.
--
Dan