summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-01 00:53:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-02 12:02:48 +0100
commitd66075e595fc2aba16a332de4aa44ce814d7278e (patch)
tree957e14cb26f286d2956a573c3a4b6ad71380abab /meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch
parent5f46b438a8869e65bfa74b6b1a9cb67b143d5948 (diff)
downloadpoky-d66075e595fc2aba16a332de4aa44ce814d7278e.tar.gz
poky-d66075e595fc2aba16a332de4aa44ce814d7278e.tar.bz2
poky-d66075e595fc2aba16a332de4aa44ce814d7278e.zip
db: fix parallel issue
Fixed parallel issue: libtool: link: `bt_rec.lo' is not a valid libtool object Makefile:867: recipe for target 'libdb-6.0.la' failed make: *** [libdb-6.0.la] Error 1 (From OE-Core rev: 14b7787cfb1318e67ac2721c0d9d5dbf5be9dec4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch')
-rw-r--r--meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch b/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch
new file mode 100644
index 0000000000..329bff5d3b
--- /dev/null
+++ b/meta/recipes-support/db/db/Makefile-let-libso_target-depend-on-bt_rec.patch
@@ -0,0 +1,30 @@
+From c640ff9340f358a00835816d0fea03d27a7be978 Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Tue, 31 Mar 2015 00:56:44 -0700
+Subject: [PATCH] Makefile: let libso_target depend on bt_rec
+
+Fixed parallel issue:
+libtool: link: `bt_rec.lo' is not a valid libtool object
+Makefile:867: recipe for target 'libdb-6.0.la' failed
+make: *** [libdb-6.0.la] Error 1
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index e451f70..0a42375 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -863,7 +863,7 @@ $(libdb_version): $(C_OBJS)
+ $(LN) -s $(libdb_version) $(libdb)
+
+ # Shared C library.
+-$(libso_target): $(C_OBJS)
++$(libso_target): $(C_OBJS) bt_rec@o@
+ $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) \
+ $(LIBCSO_LIBS)
+ $(RM) $(libdb)