summaryrefslogtreecommitdiffstats
path: root/src/poco-1-fix-mno-cygwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/poco-1-fix-mno-cygwin.patch')
-rw-r--r--src/poco-1-fix-mno-cygwin.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/poco-1-fix-mno-cygwin.patch b/src/poco-1-fix-mno-cygwin.patch
new file mode 100644
index 0000000..75b63af
--- /dev/null
+++ b/src/poco-1-fix-mno-cygwin.patch
@@ -0,0 +1,23 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+--- a/build/config/MinGW-CrossEnv
++++ b/build/config/MinGW-CrossEnv
+@@ -23,7 +23,7 @@ CXX = $(CROSSENV)-g++
+ LINK = $(CXX)
+ LIB = $(CROSSENV)-ar -cr
+ RANLIB = $(CROSSENV)-ranlib
+-SHLIB = $(CXX) -shared -mno-cygwin -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(basename $(notdir $@))).a
++SHLIB = $(CXX) -shared -o $@ -Wl,--out-implib=$(dir $@)$(subst cyg,lib,$(basename $(notdir $@))).a
+ SHLIBLN = $(POCO_BASE)/build/script/shlibln
+ STRIP =
+ DEP = $(POCO_BASE)/build/script/makedepend.gcc
+@@ -68,7 +68,7 @@ RELEASEOPT_LINK = -O2
+ #
+ # System Specific Flags
+ #
+-SYSFLAGS = -mno-cygwin -D_WIN32 -DMINGW32 -DWINVER=0x500 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -DFoundation_Config_INCLUDED
++SYSFLAGS = -D_WIN32 -DMINGW32 -DWINVER=0x500 -DPOCO_NO_FPENVIRONMENT -DPCRE_STATIC -DPOCO_THREAD_STACK_SIZE -DFoundation_Config_INCLUDED
+
+ #
+ # System Specific Libraries