diff --git a/src/Makefile.am b/src/Makefile.am index 419fbb4..73f7435 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -116,7 +116,7 @@ libepoxy_la_SOURCES = \ libepoxy_la_LDFLAGS = \ -no-undefined \ - -Bsymbolic \ + -Bsymbolic-functions \ $() libepoxy_la_LIBADD = \ diff --git a/src/meson.build b/src/meson.build index 49907fa..466fc0d 100644 --- a/src/meson.build +++ b/src/meson.build @@ -51,9 +51,9 @@ 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', '-Wl,-z,relro' ]) + common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro' ]) else - common_ldflags += [ '-Wl,-Bsymbolic', '-Wl,-z,relro', ] + common_ldflags += [ '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', ] endif endif