summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gdbm/gdbm_1.8.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gdbm/gdbm_1.8.3.bb')
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.8.3.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-support/gdbm/gdbm_1.8.3.bb b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
index 2331d1df3a..af01b6c407 100644
--- a/meta/recipes-support/gdbm/gdbm_1.8.3.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
@@ -17,3 +17,13 @@ SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a
17inherit autotools texinfo 17inherit autotools texinfo
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
20
21do_install_append () {
22 install -d ${D}${includedir}/gdbm
23 install -m 0644 ${S}/dbm.h ${D}${includedir}/
24 install -m 0644 ${S}/ndbm.h ${D}${includedir}/
25 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
26 # these headers
27 ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h
28 ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h
29}