mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
ba64301b95
Fix libqtlxqt.so path after cross compile in builder container. Otherwise, it is installed in PREFIX/opt/qt6/cross/ directory.
16 lines
410 B
Diff
16 lines
410 B
Diff
Fix libqtlxqt.so path after cross compile in builder container.
|
|
Otherwise, it is installed in PREFIX/opt/qt6/cross/ directory.
|
|
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -39,7 +39,9 @@
|
|
Qt6XdgIconLoader
|
|
)
|
|
|
|
+if(NOT CMAKE_CROSSCOMPILING)
|
|
lxqt_query_qt(_QT_PLUGINS_DIR QT_INSTALL_PLUGINS)
|
|
+endif()
|
|
|
|
if (NOT _QT_PLUGINS_DIR)
|
|
message(FATAL_ERROR "Qt6 plugin directory cannot be detected.")
|