mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-06-21 08:52:35 +02:00
qmake5_base: Remove QMAKE_PRL_BUILD_DIR from prl files
Reduce warnings from buildpaths QA test (contains reference to TMPDIR) by removing QMAKE_PRL_BUILD_DIR from prl files. Same as in meta-qt6: https://code.qt.io/cgit/yocto/meta-qt6.git/commit/?id=8fb6c082 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
69f3e3c372
commit
b20be92d77
@@ -246,7 +246,8 @@ qmake5_base_do_install() {
|
||||
# Replace host paths with qmake built-in properties
|
||||
find ${D} \( -name "*.pri" -or -name "*.prl" \) -exec \
|
||||
sed -i -e 's|${STAGING_DIR_NATIVE}|$$[QT_HOST_PREFIX/get]|g' \
|
||||
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' {} \;
|
||||
-e 's|${STAGING_DIR_HOST}|$$[QT_SYSROOT]|g' {} \
|
||||
-e '/QMAKE_PRL_BUILD_DIR/d' {} \;
|
||||
|
||||
# Replace host paths with pkg-config built-in variable
|
||||
find ${D} -name "*.pc" -exec \
|
||||
|
||||
Reference in New Issue
Block a user