aboutsummaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/Makemodule.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/Makemodule.am b/lib/util/Makemodule.am
index d6005fa..ffd594d 100644
--- a/lib/util/Makemodule.am
+++ b/lib/util/Makemodule.am
@@ -6,7 +6,8 @@ libutil_la_CPPFLAGS = $(AM_CPPFLAGS)
libutil_la_LDFLAGS = $(AM_LDFLAGS)
if WINDOWS
-libutil_la_LDFLAGS += -no-undefined
+libutil_la_CFLAGS += -Wc,-static-libgcc
+libutil_la_LDFLAGS += -no-undefined -avoid-version
endif
noinst_LTLIBRARIES += libutil.la