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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user