mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-24 16:30:04 -07:00
25 lines
423 B
Bash
Executable File
25 lines
423 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < musl.patch
|
|
|
|
# Remove 'util-linux' dependency.
|
|
sed 's/libmount_dep.found()/false/' meson.build > _
|
|
mv -f _ meson.build
|
|
|
|
: > fuzzing/meson.build
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
-Dlibmount=disabled \
|
|
-Dinstalled_tests=false \
|
|
-Ddefault_library=both \
|
|
-Dman=false \
|
|
-Dtests=false \
|
|
-Dlibelf=disabled \
|
|
. build
|
|
|
|
ninja -C build
|
|
ninja -C build install
|
|
|
|
rm -rf "$1/usr/bin/gdbus"
|