diff options
| author | Mirko Vogt | 2025-05-12 01:20:17 +0000 |
|---|---|---|
| committer | Mirko Vogt | 2025-05-22 10:58:15 +0000 |
| commit | 416b5e13f9105736f467e4c27ee3b6ed25ded196 (patch) | |
| tree | 0c4dceeeb0e4a5634b370dff2ed5dc0141f4b9d8 | |
| parent | baf773fd28393630618e2a4a491941b48c7ecede (diff) | |
| download | video-416b5e13f9105736f467e4c27ee3b6ed25ded196.tar.gz | |
qt5base: expand Install/Plugins func in qmake.mk
Allow installing all plugins via wildcard ("*")
| -rw-r--r-- | frameworks/qt5/qt5base/files/qmake.mk | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/frameworks/qt5/qt5base/files/qmake.mk b/frameworks/qt5/qt5base/files/qmake.mk index 3ced010..8a98d06 100644 --- a/frameworks/qt5/qt5base/files/qmake.mk +++ b/frameworks/qt5/qt5base/files/qmake.mk @@ -201,12 +201,19 @@ define Build/Install/Translations endef define Build/Install/Plugins - $(INSTALL_DIR) \ - $(1)/$(QT_INSTALL_PLUGINS)/$(2) - - $(CP) \ - $(PKG_INSTALL_DIR)/$(QT_INSTALL_PLUGINS)/$(2)/$(3).so* \ - $(1)/$(QT_INSTALL_PLUGINS)/$(2)/ + if [ "$(2)" = '*' ]; then \ + $(INSTALL_DIR) \ + $(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)/ ; \ + fi endef define Build/Install/Examples |