Skip to contentSkip to conversation

package/qt5/qt5base: fix pkg-config prefix

PATCH New James Hilliard 1 participant 1 message Jan 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qt5/qt5base: fix pkg-config prefix

By default qmake generates pkg-config files with QT_INSTALL_PREFIX as the prefix, this however contains a full sysroot path which breaks per-package directories, use the override QMAKE_PKGCONFIG_PREFIX to set the pkg-config prefix to /usr.

---
 package/qt5/qt5base/qmake.conf.in | 3 +++
 1 file changed, 3 insertions(+)
package/qt5/qt5base/qmake.conf.in +3 -0
index 024c074928..03bd825c8a 100644
@@ -8,6 +8,9 @@
 
 include(../common/linux_device_pre.conf)
 
+# fix pkg-config prefix
+QMAKE_PKGCONFIG_PREFIX  = /usr
+
 # modifications to g++-unix.conf
 QMAKE_CC                = $${CROSS_COMPILE}gcc
 QMAKE_CXX               = $${CROSS_COMPILE}g++
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot