[oe-commits] [openembedded-core] 03/56: apt-native: Add libapt-pkg headers
git at git.openembedded.org
git at git.openembedded.org
Fri Feb 16 18:07:17 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit bf79355d2834a387f94978fe9650bee43244a40e
Author: Jan Siegmund <jsiegmund at arri.de>
AuthorDate: Sun Feb 4 12:08:48 2018 +0100
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 at arri.de>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/apt/apt-native.inc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-devtools/apt/apt-native.inc b/meta/recipes-devtools/apt/apt-native.inc
index 68f1b3c..ef232c1 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
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list