summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/db/db-native_4.2.52.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/packages/db/db-native_4.2.52.bb b/meta/packages/db/db-native_4.2.52.bb
index 5d2e294a8f..4b374e2403 100644
--- a/meta/packages/db/db-native_4.2.52.bb
+++ b/meta/packages/db/db-native_4.2.52.bb
@@ -10,4 +10,15 @@ require db_${PV}.bb
10 10
11inherit native 11inherit native
12 12
13PACKAGES = "" 13do_stage() {
14 # The .h files get installed read-only, the autostage
15 # function just uses cp -pPR, so do this by hand
16 rm -rf ${STAGE_TEMP}
17 mkdir -p ${STAGE_TEMP}
18 oe_runmake DESTDIR="${STAGE_TEMP}" install_include
19 cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/.
20 rm -rf ${STAGE_TEMP}
21 oe_libinstall -so -C .libs libdb-4.2 ${STAGING_LIBDIR}
22 ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so
23 ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a
24}