[Bug 273479] devel/glib20: silent grab libelf.so.1 from devel/elfutils
Date: Sat, 30 Dec 2023 16:36:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273479
--- Comment #8 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
(In reply to Vladimir Druzenko from comment #7)
It does not.
gio/meson.build:
============================================================================================
# Dependencies used by executables below
have_libelf = false
libelf = dependency('libelf', version : '>= 0.8.12', required : false)
if libelf.found() and get_option('libelf').allowed()
have_libelf = true
else
# This fallback is necessary on *BSD. elfutils isn't the only libelf
# implementation, and *BSD usually includes their own libelf as a system
# library which doesn't have a corresponding .pc file.
libelf = cc.find_library('elf', required : get_option ('libelf'))
have_libelf = libelf.found()
have_libelf = have_libelf and cc.has_function('elf_begin', dependencies :
libelf)
have_libelf = have_libelf and cc.has_function('elf_getshdrstrndx',
dependencies : libelf)
have_libelf = have_libelf and cc.has_function('elf_getshdrnum', dependencies
: libelf)
have_libelf = have_libelf and cc.has_header('libelf.h')
endif
if have_libelf
glib_conf.set('HAVE_LIBELF', 1)
else
libelf = []
endif
============================================================================================
--
You are receiving this mail because:
You are on the CC list for the bug.