automake
[Top][All Lists]
Advanced

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

Fixing 'libreplace is empty' warnings


From: Dalibor Topic
Subject: Fixing 'libreplace is empty' warnings
Date: Fri, 21 May 2004 18:21:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421

Hi all,

I've got a libreplace with replacement functions that's empty on some platforms (Darwin). Is there some simple way to teach automake not to build it (and link against it), when it's not needed?

this question has been asked before http://mail.gnu.org/archive/html/automake/2003-08/msg00028.html but received no reply. the warnings look like this:

/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wstrict-prototypes -fsigned-char -o libreplace.la dummyin6.lo getaddrinfo.lo getifaddrs.lo inet_pton.lo inet_ntop.lo memset.lo ar cru .libs/libreplace.a .libs/dummyin6.o .libs/getaddrinfo.o .libs/getifaddrs.o .libs/inet_pton.o .libs/inet_ntop.o .libs/memset.o
ranlib .libs/libreplace.a
ranlib: warning for library: .libs/libreplace.a the table of contents is empty (no object file members in the library define global symbols)
creating libreplace.la
(cd .libs && rm -f libreplace.la && ln -s ../libreplace.la  libreplace.la)

any help would be appreciated.

cheers,
dalibor topic




reply via email to

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