aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk+3/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk+3/build')
-rwxr-xr-xextra/gtk+3/build3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/gtk+3/build b/extra/gtk+3/build
index cce3cd18..e6b2b6c3 100755
--- a/extra/gtk+3/build
+++ b/extra/gtk+3/build
@@ -13,6 +13,8 @@ sed_i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
gtk/a11y/gtkaccessibility.c
+cpt l wayland >/dev/null 2>&1 && wayland=--enable-wayland-backend
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -24,6 +26,7 @@ sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
--enable-xcomposite \
--enable-xdamage \
--enable-x11-backend \
+ "$wayland" \
--enable-debug=no \
--disable-schemas-compile \
--disable-cups \