repo/extra/glib/build

26 lines
474 B
Plaintext
Raw Normal View History

2019-07-23 07:16:17 -06:00
#!/bin/sh -e
2022-08-05 18:37:41 -06:00
# static_assert is not defined in C99.
export CFLAGS="$CFLAGS -std=gnu11"
2022-07-12 19:10:17 -06:00
2021-07-03 15:27:51 -06:00
# Remove 'util-linux' dependency.
sed 's/libmount_dep.found()/false/' meson.build > _
mv -f _ meson.build
2020-02-07 16:28:50 -07:00
2021-07-27 09:29:48 -06:00
: > fuzzing/meson.build
2020-02-07 16:28:50 -07:00
2019-07-23 07:16:17 -06:00
meson \
--prefix=/usr \
2020-02-07 16:28:50 -07:00
-Dlibmount=disabled \
-Dinstalled_tests=false \
2020-06-20 05:49:26 -06:00
-Ddefault_library=both \
2019-07-23 07:16:17 -06:00
-Dman=false \
2022-06-13 13:03:55 -06:00
-Dtests=false \
-Dlibelf=disabled \
2019-07-23 07:16:17 -06:00
. build
ninja -C build
2019-10-08 02:16:02 -06:00
ninja -C build install
2019-08-18 18:45:05 -06:00
2021-06-30 07:03:08 -06:00
rm -rf "$1/usr/bin/gdbus"