[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDF
From: |
Tim Ruehsen |
Subject: |
[Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS |
Date: |
Sat, 11 Jun 2016 10:24:08 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
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/
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, ilovezfs, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Tim Ruehsen, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Tim Ruehsen, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, ilovezfs, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Tim Ruehsen, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, ilovezfs, 2016/06/10
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS,
Tim Ruehsen <=
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, ilovezfs, 2016/06/11
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Tim Ruehsen, 2016/06/11
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Bruno Haible, 2016/06/19
- [Bug-wget] [bug #48193] Build fails unless -liconv set explicitly in LDFLAGS, Tim Ruehsen, 2016/06/21