mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
Merge branch 'wip/3v1n0/some-meson-fixmes' into 'main'
meson: Handle various build system FIXME's See merge request GNOME/glib!3012
This commit is contained in:
@@ -28,11 +28,11 @@ if g_module_impl == 'G_MODULE_IMPL_DL'
|
||||
message('Building for MSVC: assuming that symbols are prefixed with underscore')
|
||||
g_module_need_uscore = 1
|
||||
elif meson.can_run_host_binaries()
|
||||
# FIXME: communicate result via stdout instead of return value, so non-0 return is not printed in bold red
|
||||
rres = cc.run(dlopen_dlsym_test_code,
|
||||
dependencies : libdl_dep,
|
||||
name : 'dlsym() preceding underscores')
|
||||
if host_system == 'windows' or (rres.compiled() and rres.returncode() == 0)
|
||||
if host_system == 'windows' or (rres.compiled() and
|
||||
rres.returncode() == 0 and rres.stdout().to_int() == 0)
|
||||
g_module_need_uscore = 1
|
||||
endif
|
||||
else
|
||||
|
Reference in New Issue
Block a user