Follow-up Comment #9, bug #48193 (project wget):

Rather than
LDADD = $(LIBOBJS) $(LTLIBICONV) ../lib/libgnu.a 
it would be better to write
LDADD = $(LIBOBJS) ../lib/libgnu.a $(LTLIBICONV)

The reason is that $(LTLIBICONV) refers to - more or less - a system library,
and it can be a shared library. If the object files in libgnu.a reference the
'iconv' symbol but $(LIBOBJS) don't, you may still get a link error. Moving
all the shared/system libraries to the end of the link command line fixes
this.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48193>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to