Skip to content

Commit

Permalink
define MACOSX_DEPLOYMENT_TARGET on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
wg committed Apr 17, 2019
1 parent 7594a95 commit 0bbe32c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0bbe32c

Please sign in to comment.