Skip to content

Commit 66216de

Browse files
committed
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 <[email protected]>
1 parent 06077ed commit 66216de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aclocal.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ case "${host}" in
123123
;;
124124
125125
*-*-darwin1.[0123])
126-
shared="-bundle -undefined suppress"
126+
shared="-bundle -undefined dynamic_lookup"
127127
;;
128128
129129
*-*-darwin*)
130-
shared="-bundle -undefined suppress -flat_namespace"
130+
shared="-bundle -undefined dynamic_lookup -flat_namespace"
131131
;;
132132
133133
*-*-solaris*)

0 commit comments

Comments
 (0)