Enable APPLE_BUILD in makefile if using system ar

This commit is contained in:
Andres Amaya Garcia 2018-06-20 10:43:21 +01:00
parent c51d613eac
commit e3402ce44f

View File

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