mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
89cc1315b3
commit
0f613f82c4
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user