mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-25 00:30:06 -07:00
21 lines
445 B
Bash
Executable File
21 lines
445 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
|
|
|
|
# Fix issues with musl and firefox.
|
|
# See: https://bugs.freedesktop.org/show_bug.cgi?id=35268
|
|
sed -i "/pre_args += '-DGLX_USE_TLS'/d" meson.build
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=release \
|
|
-Dplatforms=x11,drm \
|
|
. output
|
|
|
|
ninja -C output
|
|
ninja -C output install
|