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:
parent
631bb4b14d
commit
25f3165feb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user