mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 12:43:03 +01:00
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 (From OE-Core rev: 1a50961e63222e6196b9688f48700c7ba1596dbc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1008 B
BlitzBasic
31 lines
1008 B
BlitzBasic
SUMMARY = "Key/value database library with extensible hashing"
|
|
HOMEPAGE = "http://www.gnu.org/software/gdbm/"
|
|
SECTION = "libs"
|
|
LICENSE = "GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150"
|
|
|
|
PR = "r4"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
|
|
file://makefile.patch \
|
|
file://libtool-mode.patch \
|
|
file://ldflags.patch"
|
|
|
|
SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
|
|
SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"
|
|
|
|
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}/
|
|
# Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
|
|
# these headers
|
|
ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
|
|
ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
|
|
}
|