From 035148c8351ddf16ce89415b1b6d087f44bd17fe Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 3 Jan 2017 18:09:31 +0100 Subject: 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. --- src/Makefile.am | 4 ++-- 1 file 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 -- cgit v1.1-32-gdbae