summaryrefslogtreecommitdiffstats
path: root/src/curl.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-11-12 12:37:35 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-11-12 12:37:35 (GMT)
commitc7c7221b72b81d7758435f6b776e958c94a3f435 (patch)
tree49fbdaf4290ffcded271997942d55dc0050aa592 /src/curl.mk
parenta1c7f97efcf3c91f96b1feee9c147af8179e8f8d (diff)
downloadmxe-c7c7221b72b81d7758435f6b776e958c94a3f435.zip
mxe-c7c7221b72b81d7758435f6b776e958c94a3f435.tar.gz
mxe-c7c7221b72b81d7758435f6b776e958c94a3f435.tar.bz2
improved building style of package curl
Diffstat (limited to 'src/curl.mk')
-rw-r--r--src/curl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/curl.mk b/src/curl.mk
index a8f09e3..6524efe 100644
--- a/src/curl.mk
+++ b/src/curl.mk
@@ -37,7 +37,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- $(SED) 's,-I@includedir@,-I@includedir@ -DCURL_STATICLIB,' -i '$(1)/curl-config.in'
+ $(SED) '/^#endif/ i#define CURL_STATICLIB' -i '$(1)/include/curl/curlbuild.h.in'
$(SED) 's,GNUTLS_ENABLED = 1,GNUTLS_ENABLED=1,' -i '$(1)/configure'
# wine confuses the cross-compiling detection, so set it explicitly
$(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'