bug#61278: Automake warns about LDFLAGS for defined library

2023-02-04 Thread Reuben Thomas via Bug reports for Automake
On Sun, 5 Feb 2023 at 06:09, Nick Bowler wrote: > > What Automake is trying to tell you is that LDFLAGS is meaningless > on a static library. This message could definitely be improved! > Of course, thanks! I was confused because in another Makefile.am that had only a static library I did not g

bug#61278: Automake warns about LDFLAGS for defined library

2023-02-04 Thread Nick Bowler
On 2023-02-04, Reuben Thomas via Bug reports for Automake wrote: > When automake is run, it warns: > > liba2ps/Makefile.am:63: warning: variable 'libnowarnings_a_LDFLAGS' is > defined but no program or > liba2ps/Makefile.am:63: library has 'libnowarnings_a' as canonical name > (possible typo) > >

bug#61278: Automake warns about LDFLAGS for defined library

2023-02-04 Thread Reuben Thomas via Bug reports for Automake
Using automake 1.16.5, in my Makefile.am, I have the following lines: noinst_LTLIBRARIES = liba2ps.la liba2ps_la_LDFLAGS = $(LIBGC_LIBS) liba2ps_la_SOURCES = $(liba2pssources) $(libitsources) $(mylibitsources) liba2ps_la_LIBADD = ../lib/libgnu.la $(LIBINTL) $(LIBSOCKET) $(GETHOSTNAME_LIB) noinst_