This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Fixing 'libreplace is empty' warnings
- From: Dalibor Topic <robilad at kaffe dot org>
- To: automake at gnu dot org
- Date: Fri, 21 May 2004 18:21:53 +0200
- Subject: Fixing 'libreplace is empty' warnings
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