summaryrefslogtreecommitdiff
path: root/wl_defines.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wl_defines.sh')
-rw-r--r--wl_defines.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/wl_defines.sh b/wl_defines.sh
index 718e0c6..2d7145c 100644
--- a/wl_defines.sh
+++ b/wl_defines.sh
@@ -2,6 +2,12 @@ INCLUDE_XWAYLAND=1
WLROOT=$HOME/Wayland
WLD=$WLROOT/install # change this to another location if you prefer
+if [ "$(uname -i)" = "i386" ]; then
+ WL_BITS=32
+else
+ WL_BITS=64
+fi
+
LD_LIBRARY_PATH=$WLD/lib
PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig/
ACLOCAL_PATH="$WLD/share/aclocal"