build: Drop conditional use of get_supported_link_arguments()

Meson complains even in the face of a version check.
macos/v1.5.9
Emmanuele Bassi 6 years ago
parent 7a88ef5741
commit bf531d1042
  1. 6
      src/meson.build

@ -50,11 +50,7 @@ epoxy_sources = sources + gen_sources
common_ldflags = [] 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') common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ])
common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ])
else
common_ldflags += [ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', ]
endif
endif endif
# Maintain compatibility with autotools; see: https://github.com/anholt/libepoxy/issues/108 # Maintain compatibility with autotools; see: https://github.com/anholt/libepoxy/issues/108

Loading…
Cancel
Save