mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
meson: allow -Dlibelf=enabled without pkg-config
gio/meson.build:933:0: ERROR: Dependency "libelf" not found, tried pkgconfig
This commit is contained in:
parent
e979fd9a15
commit
f6c40b1d27
@ -930,7 +930,7 @@ endif
|
||||
|
||||
# Dependencies used by executables below
|
||||
have_libelf = false
|
||||
libelf = dependency('libelf', version : '>= 0.8.12', required : get_option ('libelf'))
|
||||
libelf = dependency('libelf', version : '>= 0.8.12', required : false)
|
||||
if libelf.found()
|
||||
have_libelf = true
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user