From: Sven M. Hallberg Date: Mon, 1 Sep 2014 22:37:00 +0000 (+0200) Subject: support building a DLL (needs --disable-stack-protector right now) X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=99e591849f99bee5b31b584c2c7acd6a7194c096;p=catta support building a DLL (needs --disable-stack-protector right now) --- diff --git a/configure.ac b/configure.ac index 7430faa..01df09d 100644 --- a/configure.ac +++ b/configure.ac @@ -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])) diff --git a/src/Makefile.am b/src/Makefile.am index 5ce20e0..317a8ab 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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