Follow-up Comment #6, bug #48193 (project wget):
As you can see, $(LTLIBICONV) should be added to the linking stage.
Maybe the whole src/Makefile.am should be rewritten... it looks quirked.
./boostrap says:
####
You may need to use the following Makefile variables when linking. Use them in
<program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
$(GETADDRINFO_LIB)
$(HOSTENT_LIB)
$(INET_NTOP_LIB)
$(LIBSOCKET)
$(LIB_CLOCK_GETTIME)
$(LIB_CRYPTO)
$(LIB_SELECT)
$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
$(SERVENT_LIB)
####
Basically we should add all of them to wget_LDADD, to have gnulib working on
all supported platforms. I am not a real expert here, though.
For further testing, please change this in src/Makefile.am:
-LDADD = $(LIBOBJS) ../lib/libgnu.a
+LDADD = $(LIBOBJS) $(LTLIBICONV) ../lib/libgnu.a
Then execute
autoreconf && ./configure && make
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48193>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/