0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/qt5-qtwebengine/0007-qmake-use-dummy-sysroot.patch
2023-01-06 21:22:56 +00:00

11 lines
325 B
Diff

--- a/src/buildtools/config/linux.pri
+++ b/src/buildtools/config/linux.pri
@@ -48,6 +48,7 @@
cross_compile:!host_build {
TOOLCHAIN_SYSROOT = $$[QT_SYSROOT]
+ isEmpty(TOOLCHAIN_SYSROOT): TOOLCHAIN_SYSROOT = $$DUMMY_SYSROOT
!isEmpty(TOOLCHAIN_SYSROOT): gn_args += target_sysroot=\"$${TOOLCHAIN_SYSROOT}\"
}