aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db/db/configure_fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/db/db/configure_fixes.patch')
-rw-r--r--meta/recipes-support/db/db/configure_fixes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/db/db/configure_fixes.patch b/meta/recipes-support/db/db/configure_fixes.patch
new file mode 100644
index 0000000000..80aa0e7c1c
--- /dev/null
+++ b/meta/recipes-support/db/db/configure_fixes.patch
@@ -0,0 +1,18 @@
+If LD is a binary name + parameters db will fail to work out its GNU ld
+and disable shared libraries. We don't want this.
+
+RP - 22/11/2007
+
+Index: dist/configure
+===================================================================
+--- dist.orig/configure 2007-11-23 00:47:27.000000000 +0000
++++ dist/configure 2007-11-23 00:53:22.000000000 +0000
+@@ -5658,7 +5661,7 @@ if test "${lt_cv_prog_gnu_ld+set}" = set
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+-case `"$LD" -v 2>&1 </dev/null` in
++case `$LD -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;