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 18:05:39 +0000
commit0f613f82c48e9964c25f292636839d8ba6fdfb98 (patch)
tree6456a5ab459992fe427abe82653d8436d1cf7904 /meta/recipes-devtools/apt
parent89cc1315b3e983d52235d5f6f9cecd5f5cedfd83 (diff)
downloadopenembedded-core-contrib-0f613f82c48e9964c25f292636839d8ba6fdfb98.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. (From OE-Core rev: bf79355d2834a387f94978fe9650bee43244a40e) Signed-off-by: Jan Siegmund <jsiegmund@arri.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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
}