|
|
@ -51,7 +51,7 @@ common_ldflags = [] |
|
|
|
|
|
|
|
|
|
|
|
if host_system == 'linux' and cc.get_id() == 'gcc' |
|
|
|
if host_system == 'linux' and cc.get_id() == 'gcc' |
|
|
|
if meson.version().version_compare('>= 0.46.0') |
|
|
|
if meson.version().version_compare('>= 0.46.0') |
|
|
|
common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic', '-Wl,z,relro' ]) |
|
|
|
common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic', '-Wl,-z,relro' ]) |
|
|
|
else |
|
|
|
else |
|
|
|
common_ldflags += [ '-Wl,-Bsymbolic', '-Wl,-z,relro', ] |
|
|
|
common_ldflags += [ '-Wl,-Bsymbolic', '-Wl,-z,relro', ] |
|
|
|
endif |
|
|
|
endif |
|
|
|