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..5d4b99da 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 > gio/meson.build.bak
+mv gio/meson.build.bak gio/meson.build
meson \
--prefix=/usr \