mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 20:22:11 +01:00
Fix multiple definition error
Fixes #2966 when compiling with GCC < 9.1 or Clang < 14.0.
This commit is contained in:
parent
adcf017eb4
commit
50851e2706
@ -929,7 +929,7 @@ if not meson.is_cross_build()
|
||||
input : test_gresource_binary,
|
||||
output : 'test_resources.o',
|
||||
command : cc.cmd_array() + ['-Wl,-z,noexecstack', '-r', '-Wl,-b,binary',
|
||||
'@INPUT@', '-o','@OUTPUT@'])
|
||||
'-nostdlib', '@INPUT@', '-o','@OUTPUT@'])
|
||||
|
||||
# Rename symbol to match the one in the C file
|
||||
if cc.get_id() == 'gcc' and host_system == 'windows'
|
||||
|
Loading…
x
Reference in New Issue
Block a user