Correct linking for libiconv.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:58:34 +0000 (16:58 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Wed, 23 Oct 2002 16:58:34 +0000 (16:58 +0000)
t/src/Makefile.am

index 75652e55d4961872bd561f06e08dc905479ea823..9ae986fa490002021cefc2706bf8768048b6099f 100644 (file)
@@ -12,23 +12,23 @@ noinst_HEADERS = output.h dump_gom.h
 
 testgedcom_SOURCES = standalone.c output.c
 testgedcom_LDFLAGS = -L../../gedcom/.libs
-testgedcom_LDADD  = -lgedcom ../../utf8/libutf8.la
+testgedcom_LDADD  = -lgedcom ../../utf8/libutf8.la $(LIBICONV)
 
 pathtest_SOURCES = pathtest.c
 pathtest_LDFLAGS = -L../../gedcom/.libs
-pathtest_LDADD = -lgedcom ../../utf8/libutf8.la
+pathtest_LDADD = -lgedcom $(LIBICONV)
 
 gomtest_SOURCES = gomtest.c output.c dump_gom.c
 gomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs
-gomtest_LDADD = -lgedcom_gom -lgedcom ../../utf8/libutf8.la
+gomtest_LDADD = -lgedcom_gom -lgedcom $(LIBICONV)
 
 gomtest_static_SOURCES = gomtest.c output.c
 gomtest_static_LDADD = ../../gedcom/.libs/libgedcom.a \
-                      ../../gom/.libs/libgedcom_gom.a ../../utf8/libutf8.la
+                      ../../gom/.libs/libgedcom_gom.a
 
 updatetest_SOURCES = update.c output.c
 updatetest_LDFLAGS = -L../../gedcom/.libs
-updatetest_LDADD = -lgedcom ../../utf8/libutf8.la
+updatetest_LDADD = -lgedcom $(LIBICONV)
 
 TEST_SCRIPT=test_script test_gom test_update