bug-automake
[Top][All Lists]
Advanced

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

-module needs to be in Makefile.am?


From: Chris Ison
Subject: -module needs to be in Makefile.am?
Date: Wed, 10 Nov 2004 08:22:14 +1000

While trying to fix warnings produced during a bootstrap of a project, I found that we already had the -module in LDFLAGS within configure.am. but it seems Automake wants the flag in Makefile.am.
 
During bootstrap, we'd get a warning asking did we mean libfoo.la when we wanted foo.la.
 
Although the warnings aren't fatal, the libs all compile fine.
 
To reproduce the problem, create a configure.ac with -module in the LDFLAGS and create a makefile.am with an LTLIBRARY that isn't prefixed by lib. Do not include the --module flag in the Makefile.am.
 
Our bootstrap is basically
aclocal && autoheader && $libtoolize --automake && automake --add-missing && autoconf

reply via email to

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