mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libconnman-qt: fix the hardcoded libdir
Fix QA issue when enable multilib: ERROR: QA Issue: libconnman-qte: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libconnman-qtopia.prl /usr/lib/libconnman-qtopia.so.1.0 /usr/lib/libconnman-qtopia.so.1.0.50 /usr/lib/libconnman-qtopia.so [snip] Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped] Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
@@ -17,6 +17,7 @@ EXTRA_QMAKEVARS_PRE += "CONFIG+=notests TARGET_SUFFIX=${QT_DIR_NAME}"
|
||||
do_configure_prepend() {
|
||||
# Hack *.pro variables
|
||||
find ${S}/plugin/*.pro -exec sed -i -e 's,$$\[QT_INSTALL_IMPORTS\],${QT_IMPORTS_DIR},g' '{}' ';'
|
||||
find ${S} -iname '*.pro' -exec sed -i -e 's,$$INSTALL_ROOT$$PREFIX/lib,$$INSTALL_ROOT$$PREFIX/${baselib},g' '{}' ';'
|
||||
}
|
||||
do_install() {
|
||||
oe_runmake install INSTALL_ROOT=${D}
|
||||
|
||||
Reference in New Issue
Block a user