aboutsummaryrefslogtreecommitdiff
path: root/extra/glib
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-09 13:20:52 +0300
committerCem Keylan <cem@ckyln.com>2021-09-09 13:20:52 +0300
commit1e4113d05c5d1789ccbcb9967c8a2137151d55e3 (patch)
tree6bfd2f99731fc6734caef778711ab0b0bd341464 /extra/glib
parente4412f64df5701af9682f22fbd7a5398fc0f0689 (diff)
downloadrepository-1e4113d05c5d1789ccbcb9967c8a2137151d55e3.tar.gz
glib: use cl-meson, add libelf dependency
Diffstat (limited to 'extra/glib')
-rwxr-xr-xextra/glib/build7
-rw-r--r--extra/glib/depends1
2 files changed, 2 insertions, 6 deletions
diff --git a/extra/glib/build b/extra/glib/build
index 922bd530..180fbce9 100755
--- a/extra/glib/build
+++ b/extra/glib/build
@@ -2,16 +2,11 @@
export DESTDIR="$1"
-# Remove 'libelf' dependency.
-sed 's/if have_libelf/if not have_libelf/' gio/meson.build > _
-cat _ > gio/meson.build; rm -f _
-
# tests/fuzzing now depend on dbus. Remove them from the build.
find . -type f -name meson.build -exec \
clsed "/subdir('tests')/d;/subdir('fuzzing')/d" {} +
-meson \
- --prefix=/usr \
+cl-meson \
-Ddefault_library=both \
-Dman=false \
-Dfam=false \
diff --git a/extra/glib/depends b/extra/glib/depends
index dab4feea..88d45c34 100644
--- a/extra/glib/depends
+++ b/extra/glib/depends
@@ -1,3 +1,4 @@
+libelf
libffi make
meson make
util-linux