Commit a3671578 authored by Xavier Claessens's avatar Xavier Claessens

Fix detection of linker arguments

parent 0441c86c
......@@ -132,11 +132,11 @@ common_cflags = cc.get_supported_arguments(test_cflags)
common_ldflags = []
if host_system == 'linux'
foreach ldflag: [ '-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now', ]
if cc.has_argument(ldflag)
common_ldflags += ldflag
common_ldflags += cc.get_supported_link_arguments([
# Maintain compatibility with autotools
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment