2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 23:00:06 -07:00

glib: utilize meson options

This commit is contained in:
Owen Rafferty 2022-06-13 14:03:55 -05:00
parent 631bb4b14d
commit 25f3165feb
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB

View File

@ -1,17 +1,9 @@
#!/bin/sh -e
# Remove 'libelf' dependency.
sed 's/HAVE_LIBELF/HAVE_KISS/' gio/meson.build > _
mv -f _ gio/meson.build
# Remove 'util-linux' dependency.
sed 's/libmount_dep.found()/false/' meson.build > _
mv -f _ meson.build
: > glib/tests/meson.build
: > tests/meson.build
: > gobject/tests/mesom.build
: > gio/tests/meson.build
: > fuzzing/meson.build
meson \
@ -20,6 +12,8 @@ meson \
-Dinstalled_tests=false \
-Ddefault_library=both \
-Dman=false \
-Dtests=false \
-Dlibelf=disabled \
. build
ninja -C build