aboutsummaryrefslogtreecommitdiff
path: root/extra/libdisplay-info/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libdisplay-info/build')
-rwxr-xr-xextra/libdisplay-info/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/libdisplay-info/build b/extra/libdisplay-info/build
new file mode 100755
index 00000000..8d4579c7
--- /dev/null
+++ b/extra/libdisplay-info/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+export DESTDIR="$1"
+
+cl-meson \
+ -Ddefault_library=static \
+ . output
+
+ninja -C output
+ninja -C output install