[oe-commits] [openembedded-core] 15/57: apt-native: Add libapt-pkg headers

git at git.openembedded.org git at git.openembedded.org
Thu Feb 15 13:31:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2ba05fc88225ba89e372368a41727204fd649e3a
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