changeset 16:7732e7db965c

bugfix in build instructions: cURL
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 20 Jun 2007 01:23:39 +0200
parents ac399e5d9fba
children 47e63f097788
files build_mingw_cross_env.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Tue Jun 19 21:20:39 2007 +0200
+++ b/build_mingw_cross_env.sh	Wed Jun 20 01:23:39 2007 +0200
@@ -648,12 +648,14 @@
     cd "$SOURCE"
     tar xfvj "$DOWNLOAD/curl-$VERSION_curl.tar.bz2"
     cd "curl-$VERSION_curl"
+    sed 's,-I@includedir@,-DCURL_STATICLIB -I@includedir@,' -i curl-config.in
     sed 's,GNUTLS_ENABLED = 1,GNUTLS_ENABLED=1,' -i configure
     ./configure \
         --build="$BUILD" --host="$TARGET" \
         --disable-shared \
         --prefix="$PREFIX/$TARGET" \
-        --with-gnutls
+        --with-gnutls="$PREFIX/$TARGET" \
+        LIBS="-lgcrypt `$PREFIX/$TARGET/bin/gpg-error-config --libs`"
     make install bin_PROGRAMS= noinst_PROGRAMS=
     ;;