mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Fix test modules build issue on OS X 11. (#9658)
This commit is contained in:
parent
7d6744c739
commit
8bf4c2e38c
1 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,13 @@ ifeq ($(uname_S),Linux)
|
|||
LIBS = -lc
|
||||
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 \
|
||||
basics.so \
|
||||
|
|
|
|||
Loading…
Reference in a new issue