]> git.meshlink.io Git - catta/commitdiff
support building a DLL (needs --disable-stack-protector right now)
authorSven M. Hallberg <pesco@khjk.org>
Mon, 1 Sep 2014 22:37:00 +0000 (00:37 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Mon, 1 Sep 2014 22:37:23 +0000 (00:37 +0200)
configure.ac
src/Makefile.am

index 7430faa1ed16128c9f7f73a30ce39faed16eb72d..01df09db9800f74b478db3247feec12b5f16448e 100644 (file)
@@ -135,7 +135,7 @@ if test x"$enable_ssp" = x"yes"; then
 fi
 
 # libtool stuff
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll])
 
 ACX_PTHREAD(,AC_MSG_ERROR([Missing POSIX Threads support]))
 
index 5ce20e06719476460530944353661a3b5ca1e303..317a8ab4c97f28b787a6111038b3832395300b16 100644 (file)
@@ -89,5 +89,6 @@ libcatta_la_SOURCES += \
        compat/windows/wincompat.c \
        compat/windows/wincompat.h
 libcatta_la_LIBADD += -lws2_32
+libcatta_la_LDFLAGS += -no-undefined
 endif