mirror of
https://github.com/openwrt/video.git
synced 2025-12-21 19:14:35 +04:00
qt5base: expand Install/Plugins func in qmake.mk
Allow installing all plugins via wildcard ("*")
This commit is contained in:
@@ -201,12 +201,19 @@ define Build/Install/Translations
|
||||
endef
|
||||
|
||||
define Build/Install/Plugins
|
||||
if [ "$(2)" = '*' ]; then \
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/$(QT_INSTALL_PLUGINS)/$(2)
|
||||
|
||||
$(1)/$(QT_INSTALL_PLUGINS) ; \
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/$(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)/
|
||||
$(1)/$(QT_INSTALL_PLUGINS)/$(2)/ ; \
|
||||
fi
|
||||
endef
|
||||
|
||||
define Build/Install/Examples
|
||||
|
||||
Reference in New Issue
Block a user