mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'cygwin-rtld_next' into 'master'
Check for RTLD_NEXT See merge request GNOME/glib!750
This commit is contained in:
commit
ad614fc070
@ -136,6 +136,12 @@ if host_machine.system() != 'windows'
|
|||||||
'unix-mounts' : {},
|
'unix-mounts' : {},
|
||||||
'unix-streams' : {},
|
'unix-streams' : {},
|
||||||
'g-file-info-filesystem-readonly' : {},
|
'g-file-info-filesystem-readonly' : {},
|
||||||
|
'gschema-compile' : {'install' : false},
|
||||||
|
'trash' : {},
|
||||||
|
}
|
||||||
|
|
||||||
|
if have_rtld_next
|
||||||
|
gio_tests += {
|
||||||
'gsocketclient-slow' : {
|
'gsocketclient-slow' : {
|
||||||
'depends' : [
|
'depends' : [
|
||||||
shared_library('slow-connect-preload',
|
shared_library('slow-connect-preload',
|
||||||
@ -153,9 +159,8 @@ if host_machine.system() != 'windows'
|
|||||||
'LD_PRELOAD': '@0@/slow-connect-preload.so'.format(installed_tests_execdir),
|
'LD_PRELOAD': '@0@/slow-connect-preload.so'.format(installed_tests_execdir),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'gschema-compile' : {'install' : false},
|
|
||||||
'trash' : {},
|
|
||||||
}
|
}
|
||||||
|
endif
|
||||||
|
|
||||||
# Uninstalled because of the check-for-executable logic in DesktopAppInfo
|
# Uninstalled because of the check-for-executable logic in DesktopAppInfo
|
||||||
# unable to find the installed executable
|
# unable to find the installed executable
|
||||||
|
@ -592,6 +592,12 @@ if cc.has_header_symbol('dlfcn.h', 'RTLD_GLOBAL')
|
|||||||
glib_conf.set('HAVE_RTLD_GLOBAL', 1)
|
glib_conf.set('HAVE_RTLD_GLOBAL', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
have_rtld_next = false
|
||||||
|
if cc.has_header_symbol('dlfcn.h', 'RTLD_NEXT')
|
||||||
|
have_rtld_next = true
|
||||||
|
glib_conf.set('HAVE_RTLD_NEXT', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
# Check whether to use statfs or statvfs
|
# Check whether to use statfs or statvfs
|
||||||
# Some systems have both statfs and statvfs, pick the most "native" for these
|
# Some systems have both statfs and statvfs, pick the most "native" for these
|
||||||
if have_func_statfs and have_func_statvfs
|
if have_func_statfs and have_func_statvfs
|
||||||
|
Loading…
Reference in New Issue
Block a user