diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-10-04 18:07:34 +0200 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-10-04 18:07:34 +0200 |
commit | bf531d104299f5074a6f22cc353221cc7c7708fa (patch) | |
tree | 1c00962accbd681f46858d55f23c37e0ab6bc438 /src | |
parent | 7a88ef5741385c84855c95f6d33132883e34867d (diff) | |
download | libepoxy-bf531d104299f5074a6f22cc353221cc7c7708fa.tar.gz |
build: Drop conditional use of get_supported_link_arguments()meson-bump
Meson complains even in the face of a version check.
Diffstat (limited to 'src')
-rw-r--r-- | src/meson.build | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/meson.build b/src/meson.build index 466fc0d..fe092d1 100644 --- a/src/meson.build +++ b/src/meson.build @@ -50,11 +50,7 @@ epoxy_sources = sources + gen_sources common_ldflags = [] 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' ]) - else - common_ldflags += [ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', ] - endif + common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ]) endif # Maintain compatibility with autotools; see: https://github.com/anholt/libepoxy/issues/108 |