diff options
author | Jan Siegmund <jsiegmund@arri.de> | 2018-02-04 12:08:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-16 17:56:32 +0000 |
commit | bf79355d2834a387f94978fe9650bee43244a40e (patch) | |
tree | 94528518121adff17a3889964f09e1ca35b531dd | |
parent | c46d50c82d8ad27aaa75b974fa80838ff3a81386 (diff) | |
download | openembedded-core-bf79355d2834a387f94978fe9650bee43244a40e.tar.gz openembedded-core-bf79355d2834a387f94978fe9650bee43244a40e.tar.bz2 openembedded-core-bf79355d2834a387f94978fe9650bee43244a40e.zip |
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>
-rw-r--r-- | meta/recipes-devtools/apt/apt-native.inc | 6 |
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 } |