aboutsummaryrefslogtreecommitdiff
path: root/extra/libplacebo/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libplacebo/build')
-rwxr-xr-xextra/libplacebo/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/libplacebo/build b/extra/libplacebo/build
new file mode 100755
index 00000000..1c4a40bf
--- /dev/null
+++ b/extra/libplacebo/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"
+
+cl-meson \
+ -Dlcms=enabled \
+ -Dopengl=enabled \
+ -Dvulkan=enabled \
+ -Ddemos=false \
+ . output
+
+ninja -C output
+ninja -C output install