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 <lars@metafoo.de>
This commit is contained in:
Lars-Peter Clausen 2024-12-25 14:28:57 -08:00
parent 06077ed026
commit 342ba62618
1 changed files with 2 additions and 2 deletions

4
aclocal.m4 vendored
View File

@ -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*)