Only link in libcharset when libiconv is not used.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:56:06 +0000 (16:56 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:56:06 +0000 (16:56 +0000)
utf8/Makefile.am

index 97689ed0f330c4aef5bce0f2de7fb0319f67d6d4..7fe0f73118a5a5474c83cdac0b5329ec82027560 100644 (file)
@@ -9,6 +9,5 @@ CFLAGS   = -g -O2 -W -Wall -pedantic -Wno-long-long
 
 noinst_LTLIBRARIES = libutf8.la
 libutf8_la_SOURCES = utf8-locale.c
-libutf8_la_LDFLAGS = $(LIBICONV)
-libutf8_la_LIBADD  = @LCS_LIBADD@
+libutf8_la_LIBADD  = @LCS_LIBADD@ $(LIBICONV)
 noinst_HEADERS = utf8-locale.h