summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-01-03 18:09:31 +0100
committerGravatar Nikias Bassen2017-01-03 18:09:31 +0100
commit035148c8351ddf16ce89415b1b6d087f44bd17fe (patch)
tree7135a619bce33115fdf961e70965701a96ad6ef5
parent9950acbecda1b1bdf567e2e5efae84103c105a2d (diff)
downloadlibplist-035148c8351ddf16ce89415b1b6d087f44bd17fe.tar.gz
libplist-035148c8351ddf16ce89415b1b6d087f44bd17fe.tar.bz2
win32: Try to prevent linking against libgcc_s_dw2
While this works for libplist.dll, libplist++.dll will still have the _Unwind_Resume symbol being imported from libgcc_s_dw2-1.dll and there doesn't seem to be a way to prevent that.
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8e47907..995bddd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,8 +44,8 @@ libplist___la_SOURCES = Node.cpp \
$(top_srcdir)/include/plist/Uid.h
if WIN32
-libplist_la_LDFLAGS += -avoid-version
-libplist___la_LDFLAGS += -avoid-version
+libplist_la_LDFLAGS += -avoid-version -static-libgcc
+libplist___la_LDFLAGS += -avoid-version -static-libgcc
endif
pkgconfigdir = $(libdir)/pkgconfig