Fix test modules build issue on OS X 11. (#9658)
(cherry picked from commit8bf4c2e38c) (cherry picked from commit3053337043)
This commit is contained in:
committed by
Oran Agra
parent
c6bbfec2ff
commit
542ccdc916
@@ -11,6 +11,13 @@ else
|
||||
SHOBJ_LDFLAGS ?= -bundle -undefined dynamic_lookup
|
||||
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 = \
|
||||
commandfilter.so \
|
||||
testrdb.so \
|
||||
|
||||
Reference in New Issue
Block a user