From 99e591849f99bee5b31b584c2c7acd6a7194c096 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Tue, 2 Sep 2014 00:37:00 +0200 Subject: [PATCH] support building a DLL (needs --disable-stack-protector right now) --- configure.ac | 2 +- src/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2