mirror of
https://github.com/wg/wrk
synced 2025-01-08 06:52:55 +08:00
define MACOSX_DEPLOYMENT_TARGET on macos
This commit is contained in:
parent
7594a95186
commit
0bbe32c2f8
1
Makefile
1
Makefile
@ -8,6 +8,7 @@ ifeq ($(TARGET), sunos)
|
||||
LIBS += -lsocket
|
||||
else ifeq ($(TARGET), darwin)
|
||||
LDFLAGS += -pagezero_size 10000 -image_base 100000000
|
||||
export MACOSX_DEPLOYMENT_TARGET = $(shell sw_vers -productVersion)
|
||||
else ifeq ($(TARGET), linux)
|
||||
CFLAGS += -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE
|
||||
LIBS += -ldl
|
||||
|
Loading…
Reference in New Issue
Block a user