[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
link error when libiconv not in libc
From: |
Rob McMullen |
Subject: |
link error when libiconv not in libc |
Date: |
Sun, 11 May 2003 09:30:37 -0400 |
User-agent: |
User-Agent: Wanderlust/2.10.0 (Venus) XEmacs/21.4 (Portable Code) |
I'm using uClibc and the GNU libiconv addon package. Tar finds
libiconv when configuring, but doesn't add it to the list of libraries
when linking. Here's a patch:
diff -ur tar-1.13.25/src/Makefile.am tar-1.13.25-new/src/Makefile.am
--- tar-1.13.25/src/Makefile.am 2001-09-23 06:48:38.000000000 +0000
+++ tar-1.13.25-new/src/Makefile.am 2003-05-11 13:23:01.000000000 +0000
@@ -38,6 +38,6 @@
# Link libtar.a after @INTLLIBS@, since @INTLLIBS@ might invoke rpl_realloc.
# Also, link it before @INTTLIBS@, since unicodeio.c might invoke
# locale_charset. Sigh.
-LDADD = ../lib/libtar.a @INTLLIBS@ ../lib/libtar.a
+LDADD = ../lib/libtar.a @INTLLIBS@ ../lib/libtar.a @LIBICONV@
rmt_LDADD = $(LDADD) @rmt_LDADD@
tar_LDADD = $(LDADD) @tar_LDADD@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- link error when libiconv not in libc,
Rob McMullen <=