From 342ba62618d7082b47e1d2653b22a9e89881e837 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 25 Dec 2024 14:28:57 -0800 Subject: [PATCH] Use `-undefined dynamic_lookup` for linking loadable modules on MacOS Newer version of the linker on MacOS provide a deprecation warning when using the `-undefined` flag with the `suppress` value. This is cause CI to fail to do logs not matching when building VPI modules. Switch to using the `dynamic_lookup` value for the flag instead, which resolves the warning and is the behavior we want when loading the module. Signed-off-by: Lars-Peter Clausen --- aclocal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aclocal.m4 b/aclocal.m4 index 5fcc7cbf2..bcb1b76fd 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -123,11 +123,11 @@ case "${host}" in ;; *-*-darwin1.[0123]) - shared="-bundle -undefined suppress" + shared="-bundle -undefined dynamic_lookup" ;; *-*-darwin*) - shared="-bundle -undefined suppress -flat_namespace" + shared="-bundle -undefined dynamic_lookup -flat_namespace" ;; *-*-solaris*)