mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-10 19:24:04 +02: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user