qt5base: expand Install/Plugins func in qmake.mk

Allow installing all plugins via wildcard ("*")
This commit is contained in:
Mirko Vogt
2025-05-12 01:20:17 +00:00
parent baf773fd28
commit 416b5e13f9

View File

@@ -201,12 +201,19 @@ define Build/Install/Translations
endef endef
define Build/Install/Plugins define Build/Install/Plugins
$(INSTALL_DIR) \ if [ "$(2)" = '*' ]; then \
$(1)/$(QT_INSTALL_PLUGINS)/$(2) $(INSTALL_DIR) \
$(1)/$(QT_INSTALL_PLUGINS) ; \
$(CP) \ $(CP) \
$(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2)/$(3).so* \ $(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2) \
$(1)/$(QT_INSTALL_PLUGINS)/$(2)/ $(1)/$(QT_INSTALL_PLUGINS)/ ; \
else \
$(INSTALL_DIR) \
$(1)/$(QT_INSTALL_PLUGINS)/$(2) ; \
$(CP) \
$(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2)/$(3).so* \
$(1)/$(QT_INSTALL_PLUGINS)/$(2)/ ; \
fi
endef endef
define Build/Install/Examples define Build/Install/Examples