aboutsummaryrefslogtreecommitdiff
path: root/wayland/cage/build
diff options
context:
space:
mode:
Diffstat (limited to 'wayland/cage/build')
-rwxr-xr-xwayland/cage/build5
1 files changed, 2 insertions, 3 deletions
diff --git a/wayland/cage/build b/wayland/cage/build
index 913220ab..2f4087b8 100755
--- a/wayland/cage/build
+++ b/wayland/cage/build
@@ -1,12 +1,11 @@
#!/bin/sh -e
export WLROOTS_DIR="$PWD/pkg"
+export DESTDIR="$WLROOTS_DIR"
(
cd wlroots
-export DESTDIR="$WLROOTS_DIR"
-
cl-meson \
--default-library=static \
-Dexamples=false \
@@ -23,7 +22,7 @@ export DESTDIR="$1"
export LDLIBS="$LDLIBS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a"
export LDFLAGS="$LDFLAGS -L$WLROOTS_DIR/usr/lib $WLROOTS_DIR/usr/lib/libwlroots.a"
export CFLAGS="$CFLAGS -I$WLROOTS_DIR/usr/include"
-export PKG_CONFIG_PATH=$WLROOTS_DIR/usr/lib/pkgconfig
+export PKG_CONFIG_PATH="$WLROOTS_DIR/usr/lib/pkgconfig"
cl-meson \
-Dman-pages=enabled \