openh264: fix installed-vs-shared QA issue with multilib

* in some cases libdir is /usr/lib64 and then libraries installed in /usr/lib aren't packaged:
ERROR: QA Issue: openh264: Files/directories were installed but not shipped in any package:
  /usr/lib/libopenh264.a
  /usr/lib/libopenh264.so.2.1.1
  /usr/lib/libopenh264.so
  /usr/lib/libopenh264.so.6
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/openh264.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
openh264: 6 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Martin Jansa 2023-08-13 17:26:45 +02:00 committed by Khem Raj
parent ce208790e5
commit e89194c3aa

View File

@ -45,7 +45,7 @@ do_compile() {
}
do_install() {
oe_runmake install DESTDIR=${D} PREFIX=${prefix}
oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIBDIR_NAME=${baselib} SHAREDLIB_DIR=${libdir}
}
CLEANBROKEN = "1"