mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Merge branch 'backport-3648-libelf-disabling-glib-2-78' into 'glib-2-78'
Backport !3648 “build: Fix -Dlibelf=disabled on Linux” to glib-2-78 See merge request GNOME/glib!3649
This commit is contained in:
@@ -935,7 +935,7 @@ endif
|
||||
# Dependencies used by executables below
|
||||
have_libelf = false
|
||||
libelf = dependency('libelf', version : '>= 0.8.12', required : false)
|
||||
if libelf.found()
|
||||
if libelf.found() and get_option('libelf').allowed()
|
||||
have_libelf = true
|
||||
else
|
||||
# This fallback is necessary on *BSD. elfutils isn't the only libelf
|
||||
|
Reference in New Issue
Block a user