Unverified Commit 8bf4c2e3 authored by Yossi Gottlieb's avatar Yossi Gottlieb Committed by GitHub
Browse files

Fix test modules build issue on OS X 11. (#9658)

parent 7d6744c7
...@@ -17,6 +17,13 @@ ifeq ($(uname_S),Linux) ...@@ -17,6 +17,13 @@ ifeq ($(uname_S),Linux)
LIBS = -lc LIBS = -lc
endif endif
# OS X 11.x doesn't have /usr/lib/libSystem.dylib and needs an explicit setting.
ifeq ($(uname_S),Darwin)
ifeq ("$(wildcard /usr/lib/libSystem.dylib)","")
LIBS = -L /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lsystem
endif
endif
TEST_MODULES = \ TEST_MODULES = \
commandfilter.so \ commandfilter.so \
basics.so \ basics.so \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment