glib: cleanup build

This commit is contained in:
Dylan Araps 2019-10-08 11:16:02 +03:00
parent 475ddd8fba
commit f00b04aafc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,5 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
export DESTDIR="$1"
# Remove 'libelf' dependency. # Remove 'libelf' dependency.
sed -i'' 's/if have_libelf/if not have_libelf/' gio/meson.build sed -i'' 's/if have_libelf/if not have_libelf/' gio/meson.build
@ -10,7 +12,7 @@ meson \
. build . build
ninja -C build ninja -C build
DESTDIR="$1" ninja -C build install ninja -C build install
# Purge gdbus. # Purge gdbus.
rm -rf "$1/usr/bin/gdbus" rm -rf "$1/usr/bin/gdbus"