[oe] [PATCH 1/2] libgit2: Fix install for multilib

Andreas Müller schnitzeltony at gmail.com
Wed Jan 30 21:35:09 UTC 2019


| ERROR: libgit2-0.27.4-r0 do_package: QA Issue: libgit2: Files/directories were installed but not shipped in any package:
|   /usr/lib/libgit2.so.0.27.5
|   /usr/lib/libgit2.so.27
|   /usr/lib/libgit2.so
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/libgit2.pc
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

+ reduce 8 spaces by 4

Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
 meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb b/meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb
index e7f768892..816ae5e2e 100644
--- a/meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb
+++ b/meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb
@@ -14,11 +14,12 @@ S = "${WORKDIR}/git"
 inherit cmake
 
 EXTRA_OECMAKE = "\
-        -DTHREADSAFE=ON \
-        -DBUILD_CLAR=OFF \
-        -DSHA1_TYPE="builtin" \
-        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-        -DBUILD_EXAMPLES=OFF \
+    -DTHREADSAFE=ON \
+    -DBUILD_CLAR=OFF \
+    -DSHA1_TYPE="builtin" \
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+    -DBUILD_EXAMPLES=OFF \
+    -DLIB_INSTALL_DIR=${libdir} \
 "
 
 BBCLASSEXTEND = "native"
-- 
2.20.1



More information about the Openembedded-devel mailing list