Use portability.c to convert void* to integer.
[gedcom-parse.git] / t / src / Makefile.am
index 34610a045d99f3e2eca1eb132f841f8e0ad98c08..9ae986fa490002021cefc2706bf8768048b6099f 100644 (file)
@@ -11,21 +11,24 @@ EXTRA_PROGRAMS  = gomtest_static
 noinst_HEADERS = output.h dump_gom.h
 
 testgedcom_SOURCES = standalone.c output.c
-testgedcom_LDFLAGS = -L ../../gedcom/.libs -lgedcom
-testgedcom_LDADD  = @INTLLIBS@ ../../utf8/libutf8.la
+testgedcom_LDFLAGS = -L../../gedcom/.libs
+testgedcom_LDADD  = -lgedcom ../../utf8/libutf8.la $(LIBICONV)
 
 pathtest_SOURCES = pathtest.c
-pathtest_LDFLAGS = -L ../../gedcom/.libs -lgedcom
+pathtest_LDFLAGS = -L../../gedcom/.libs
+pathtest_LDADD = -lgedcom $(LIBICONV)
 
 gomtest_SOURCES = gomtest.c output.c dump_gom.c
-gomtest_LDFLAGS = -L ../../gedcom/.libs -L ../../gom/.libs -lgedcom_gom -lgedcom
+gomtest_LDFLAGS = -L../../gedcom/.libs -L../../gom/.libs
+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
 
 updatetest_SOURCES = update.c output.c
-updatetest_LDFLAGS = -L ../../gedcom/.libs -lgedcom
+updatetest_LDFLAGS = -L../../gedcom/.libs
+updatetest_LDADD = -lgedcom $(LIBICONV)
 
 TEST_SCRIPT=test_script test_gom test_update