summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-11 13:01:24 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-10-11 13:03:18 +0200
commit908449e1d50404278eb961ec8470781f1ba2deda (patch)
tree4e5e53ff4fd63575e048d586ae495bebee1f6429 /lib/util
parenta2a24daa63f933247564ac5ff19e2f7e1fd24e81 (diff)
Add the required libtool magic to build a Windows DLL
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/Makemodule.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am
index d6d3928..d6005fa 100644
--- a/lib/util/Makemodule.am
+++ b/lib/util/Makemodule.am
@@ -3,5 +3,10 @@ libutil_la_SOURCES += lib/util/str_table.c include/util/str_table.h
libutil_la_SOURCES += lib/util/alloc.c lib/util/canonicalize_name.c
libutil_la_CFLAGS = $(AM_CFLAGS)
libutil_la_CPPFLAGS = $(AM_CPPFLAGS)
+libutil_la_LDFLAGS = $(AM_LDFLAGS)
+
+if WINDOWS
+libutil_la_LDFLAGS += -no-undefined
+endif
noinst_LTLIBRARIES += libutil.la