mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
build: Fix check for RTLD_NEXT
This commit is contained in:
parent
c95e2ae9c9
commit
641966c1bb
@ -593,7 +593,7 @@ if cc.has_header_symbol('dlfcn.h', 'RTLD_GLOBAL')
|
||||
endif
|
||||
|
||||
have_rtld_next = false
|
||||
if cc.has_header_symbol('dlfcn.h', 'RTLD_NEXT')
|
||||
if cc.has_header_symbol('dlfcn.h', 'RTLD_NEXT', args: '-D_GNU_SOURCE')
|
||||
have_rtld_next = true
|
||||
glib_conf.set('HAVE_RTLD_NEXT', 1)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user