summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt
diff options
context:
space:
mode:
authorJan Siegmund <jsiegmund@arri.de>2018-02-04 12:08:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 17:56:32 +0000
commitbf79355d2834a387f94978fe9650bee43244a40e (patch)
tree94528518121adff17a3889964f09e1ca35b531dd /meta/recipes-devtools/apt
parentc46d50c82d8ad27aaa75b974fa80838ff3a81386 (diff)
downloadopenembedded-core-contrib-bf79355d2834a387f94978fe9650bee43244a40e.tar.gz
apt-native: Add libapt-pkg headers
Native tools were not able to use the headers of apt-pkg. This patch adds the feature. The headers were added from apt-pkg and apt-inst to the native recipe. The shipped headers match the ones in the Ubuntu package libapt-pkg-dev. Signed-off-by: Jan Siegmund <jsiegmund@arri.de> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/apt')
-rw-r--r--meta/recipes-devtools/apt/apt-native.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc
index 68f1b3ce2c..ef232c1eb6 100644
--- a/meta/recipes-devtools/apt/apt-native.inc
+++ b/meta/recipes-devtools/apt/apt-native.inc
@@ -67,4 +67,10 @@ do_install_base () {
install -d ${D}${localstatedir}/cache/apt/archives/partial
install -d ${D}${localstatedir}/log/apt/
+
+ install -d ${D}${includedir}/apt-pkg
+ for h in `find ${S}/apt-pkg ${S}/apt-inst -name '*.h'`
+ do
+ install -m 0644 $h ${D}${includedir}/apt-pkg
+ done
}