Add -no-undefined to the libtool flags
authorMartin Storsjo <martin@martin.st>
Fri, 25 Nov 2011 21:43:25 +0000 (23:43 +0200)
committerMartin Storsjo <martin@martin.st>
Fri, 25 Nov 2011 21:43:25 +0000 (23:43 +0200)
This allows building DLLs for windows - libtool doesn't even
try to do that unless this flag is specified.

Makefile.am

index fe4846d..0e8b303 100644 (file)
@@ -21,7 +21,7 @@ libjsoninclude_HEADERS = \
        linkhash.h \
        printbuf.h
 
-libjson_la_LDFLAGS = -version-info 1:0:1
+libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
 
 libjson_la_SOURCES = \
        arraylist.c \