Conditionally assign APPLE_BUILD var in makefile

This commit is contained in:
Andres Amaya Garcia 2018-06-13 10:04:58 +01:00
parent c471cd7e0a
commit 1d9375919a

View File

@ -22,7 +22,7 @@ endif
ifdef WINDOWS ifdef WINDOWS
WINDOWS_BUILD=1 WINDOWS_BUILD=1
else ifeq ($(shell uname -s),Darwin) else ifeq ($(shell uname -s),Darwin)
APPLE_BUILD=1 APPLE_BUILD ?= 1
endif endif
# To compile as a shared library: # To compile as a shared library: