mxe/src/curl-1-fixes.patch

34 lines
1.1 KiB
Diff

This file is part of MXE.
See index.html for further information.
Commits backported (cherry-picked) from upstream.
http://github.com/bagder/curl
Also contains MXE specific fixes.
From ee69c33117cf616c19e9cd288f08eb4c91bf190d Mon Sep 17 00:00:00 2001
From: Volker Grabsch <vog@notjusthosting.com>
Date: Fri, 28 Oct 2011 13:48:04 +0200
Subject: [PATCH] static linking for MXE
---
include/curl/curlbuild.h.in | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/curl/curlbuild.h.in b/include/curl/curlbuild.h.in
index fe348f4..c428273 100644
--- a/include/curl/curlbuild.h.in
+++ b/include/curl/curlbuild.h.in
@@ -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
--
1.7.8.3