summaryrefslogtreecommitdiffstats
path: root/src/curl-1-fix-static.patch
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-06-15 12:21:00 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-06-15 12:21:00 (GMT)
commit3913b5af6965492b076c26996643fe45f9038508 (patch)
treef3b7486e81411272d6241ff33b20c69cd08352bb /src/curl-1-fix-static.patch
parent84919a855f16a44af46b6040c594ccb07a5af8a9 (diff)
downloadmxe-3913b5af6965492b076c26996643fe45f9038508.zip
mxe-3913b5af6965492b076c26996643fe45f9038508.tar.gz
mxe-3913b5af6965492b076c26996643fe45f9038508.tar.bz2
provide a proper patch for the static linking problem of package curl
Diffstat (limited to 'src/curl-1-fix-static.patch')
-rw-r--r--src/curl-1-fix-static.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/curl-1-fix-static.patch b/src/curl-1-fix-static.patch
new file mode 100644
index 0000000..06b227e
--- /dev/null
+++ b/src/curl-1-fix-static.patch
@@ -0,0 +1,19 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+This patch has been taken from:
+http://sourceforge.net/tracker/?func=detail&aid=3016471&group_id=976&atid=100976
+
+diff -r f9016ca5bace include/curl/curlbuild.h.in
+--- a/include/curl/curlbuild.h.in Tue Jun 15 13:55:53 2010 +0200
++++ b/include/curl/curlbuild.h.in Tue Jun 15 14:00:13 2010 +0200
+@@ -111,6 +111,9 @@
+ /* EXTERNAL INTERFACE SETTINGS FOR CONFIGURE CAPABLE SYSTEMS ONLY */
+ /* ================================================================ */
+
++/* Configure process defines this to 1 when static linking is requested. */
++#undef CURL_STATICLIB
++
+ /* Configure process defines this to 1 when it finds out that system */
+ /* header file ws2tcpip.h must be included by the external interface. */
+ #undef CURL_PULL_WS2TCPIP_H