summaryrefslogtreecommitdiffstats
path: root/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild')
-rw-r--r--libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
index 7132a0064b..3cfd6bafbf 100644
--- a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
+++ b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
@@ -72,6 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Force linking against Qt5DBus or build will fail
+sed -i "s|2.0$|2.0 Qt5DBus|" src/plugins/platformthemes/gtk2/gtk2.pro
+
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
PREFIX=/usr \