[OE-core] [PATCH 1/2] gdbm 1.8.3: install libgdbm_compat

Robert Yang liezhi.yang at windriver.com
Thu Nov 12 08:51:38 UTC 2015


It has been built but not installed by default, while 1.11 builds and
installs it.

Fixed when build non_gplv3 + perl:
powerpc64-wrs-linux-gcc -m64 -mhard-float -mcpu=e6500
--sysroot=/mnt/docker/test_p/bitbake_build/tmp/sysroots/fsl-t2xxx
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -
fstack-protector -shared NDBM_File.o  -o
../../lib/auto/NDBM_File/NDBM_File.so   \
   -lgdbm -lgdbm_compat         \

ld: cannot find -lgdbm_compat
collect2: error: ld returned 1 exit status
Makefile:473: recipe for target '../../lib/auto/NDBM_File/NDBM_File.so' failed

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-support/gdbm/gdbm_1.8.3.bb |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/gdbm/gdbm_1.8.3.bb b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
index af01b6c..b253dc1 100644
--- a/meta/recipes-support/gdbm/gdbm_1.8.3.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
@@ -19,6 +19,7 @@ inherit autotools texinfo
 BBCLASSEXTEND = "native nativesdk"
 
 do_install_append () {
+    oe_runmake install-compat DESTDIR=${D}
     install -d ${D}${includedir}/gdbm
     install -m 0644 ${S}/dbm.h ${D}${includedir}/
     install -m 0644 ${S}/ndbm.h ${D}${includedir}/
-- 
1.7.9.5




More information about the Openembedded-core mailing list