aboutsummaryrefslogtreecommitdiff
path: root/community/bubblewrap/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/bubblewrap/build')
-rwxr-xr-xcommunity/bubblewrap/build15
1 files changed, 7 insertions, 8 deletions
diff --git a/community/bubblewrap/build b/community/bubblewrap/build
index dd52b4ba..343e51b2 100755
--- a/community/bubblewrap/build
+++ b/community/bubblewrap/build
@@ -1,14 +1,13 @@
#!/bin/sh -e
+export DESTDIR="$1"
export LDFLAGS="$LDFLAGS -static"
+
patch -p1 < realpath-workaround.patch
-./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --localstatedir=/var \
- --with-priv-mode=none \
- --disable-man
+cl-meson \
+ -Dprefer_static=true \
+ . output
-make
-make DESTDIR="$1" install
+ninja -C output
+ninja -C output install