mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +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
|
# Dependencies used by executables below
|
||||||
have_libelf = false
|
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()
|
if libelf.found()
|
||||||
have_libelf = true
|
have_libelf = true
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user