From 7244b23f6a87c00c4a195b410cd7f9572f27b833 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Tue, 14 Jun 2022 23:46:08 +0000 Subject: [PATCH] meson: no longer pass -Wl,--no-undefined explicitly to make it possible to build dbus-broker with clang and ASan/UBsan on OSS-Fuzz (https://github.com/google/oss-fuzz/pull/7860) without sed scripts. -Wl,--no-undefined is still passed by meson by default unless -Db_lundef is set to false explictily. https://github.com/mesonbuild/meson/issues/764 Signed-off-by: Evgeny Vereshchagin --- src/meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 6b58d49..921db20 100644 --- a/src/meson.build +++ b/src/meson.build @@ -25,7 +25,6 @@ libcdvar_both = both_libraries( dependencies: libcdvar_deps, install: not meson.is_subproject(), link_args: [ - '-Wl,--no-undefined', '-Wl,--version-script=@0@'.format(libcdvar_symfile), ], link_depends: libcdvar_symfile,