aboutsummaryrefslogtreecommitdiff
path: root/extra/glib/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glib/build')
-rwxr-xr-xextra/glib/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/glib/build b/extra/glib/build
index 60f19b1f..275818b8 100755
--- a/extra/glib/build
+++ b/extra/glib/build
@@ -3,7 +3,8 @@
export DESTDIR="$1"
# Remove 'libelf' dependency.
-sed -i 's/if have_libelf/if not have_libelf/' gio/meson.build
+sed 's/if have_libelf/if not have_libelf/' gio/meson.build > _
+cat _ > gio/meson.build; rm -f _
meson \
--prefix=/usr \