summaryrefslogtreecommitdiffstats
path: root/openwrt/package/curl/patches/500-configure_cross.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-02 00:52:34 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-02 00:52:34 +0000
commit20bc92f110a1fec145ad938f6fc8cf9fa33f70a2 (patch)
tree688ea686c7d50c851f0d91f3ce98d12e6fd0f277 /openwrt/package/curl/patches/500-configure_cross.patch
parentba9cb36ea47a1e6c3277fa8e0281616d80164ffa (diff)
fix building when host and target systems are same arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1827 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/curl/patches/500-configure_cross.patch')
-rw-r--r--openwrt/package/curl/patches/500-configure_cross.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/openwrt/package/curl/patches/500-configure_cross.patch b/openwrt/package/curl/patches/500-configure_cross.patch
new file mode 100644
index 000000000..7fa921c98
--- /dev/null
+++ b/openwrt/package/curl/patches/500-configure_cross.patch
@@ -0,0 +1,64 @@
+diff -ruN curl-7.14.0-old/configure curl-7.14.0-new/configure
+--- curl-7.14.0-old/configure 2005-05-14 00:23:47.000000000 +0200
++++ curl-7.14.0-new/configure 2005-09-02 02:03:38.000000000 +0200
+@@ -26132,10 +26132,10 @@
+
+ fi
+
+- if test "$OPENSSL_ENABLED" = "1"; then
+- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
+- export LD_LIBRARY_PATH
+- fi
++# if test "$OPENSSL_ENABLED" = "1"; then
++# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
++# export LD_LIBRARY_PATH
++# fi
+
+ fi
+
+@@ -26325,8 +26325,8 @@
+ echo "$as_me: detected GnuTLS version $version" >&6;}
+
+
+- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
+- export LD_LIBRARY_PATH
++# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
++# export LD_LIBRARY_PATH
+ fi
+
+ fi
+diff -ruN curl-7.14.0-old/configure.ac curl-7.14.0-new/configure.ac
+--- curl-7.14.0-old/configure.ac 2005-05-13 23:19:21.000000000 +0200
++++ curl-7.14.0-new/configure.ac 2005-09-02 02:03:45.000000000 +0200
+@@ -917,13 +917,13 @@
+
+ fi
+
+- if test "$OPENSSL_ENABLED" = "1"; then
+- dnl when the ssl shared libs were found in a path that the run-time linker
+- dnl doesn't search through, we need to add it to LD_LIBRARY_PATH to
+- dnl prevent further configure tests to fail due to this
+- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
+- export LD_LIBRARY_PATH
+- fi
++# if test "$OPENSSL_ENABLED" = "1"; then
++# dnl when the ssl shared libs were found in a path that the run-time linker
++# dnl doesn't search through, we need to add it to LD_LIBRARY_PATH to
++# dnl prevent further configure tests to fail due to this
++# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
++# export LD_LIBRARY_PATH
++# fi
+
+ fi
+
+@@ -1021,8 +1021,8 @@
+ dnl LD_LIBRARY_PATH to prevent further configure tests to fail
+ dnl due to this
+
+- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
+- export LD_LIBRARY_PATH
++# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
++# export LD_LIBRARY_PATH
+ fi
+
+ fi