diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:11:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-23 10:11:03 +0000 |
commit | 507a3e08172c268506ad363e81c29c8e7dc5224e (patch) | |
tree | ea7e363e8f4aa93a623170a0b62b77ed3a837064 | |
parent | 8ec24bc6ec123e505cf2621a160614bc3a69756f (diff) | |
download | openembedded-core-507a3e08172c268506ad363e81c29c8e7dc5224e.tar.gz openembedded-core-507a3e08172c268506ad363e81c29c8e7dc5224e.tar.bz2 openembedded-core-507a3e08172c268506ad363e81c29c8e7dc5224e.zip |
db: Fix configure so parameters can be passed in the LD variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3213 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/db/db_4.2.52.bb | 3 | ||||
-rw-r--r-- | meta/packages/db/files/configure_fixes.patch | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/meta/packages/db/db_4.2.52.bb b/meta/packages/db/db_4.2.52.bb index f1ea534d5f..7229e91471 100644 --- a/meta/packages/db/db_4.2.52.bb +++ b/meta/packages/db/db_4.2.52.bb @@ -16,7 +16,8 @@ VIRTUAL_NAME ?= "virtual/db" CONFLICTS = "db3" PR = "r7" -SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz" +SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz \ + file://configure_fixes.patch;patch=1 " #SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" #TODO SRC_URI += "file://arm-thumb-mutex.patch;patch=1" diff --git a/meta/packages/db/files/configure_fixes.patch b/meta/packages/db/files/configure_fixes.patch new file mode 100644 index 0000000000..80aa0e7c1c --- /dev/null +++ b/meta/packages/db/files/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 + ;; |