Enable APPLE_BUILD in makefile if using system ar
This commit is contained in:
parent
c51d613eac
commit
e3402ce44f
1 changed files with 2 additions and 0 deletions
|
@ -22,8 +22,10 @@ endif
|
||||||
ifdef WINDOWS
|
ifdef WINDOWS
|
||||||
WINDOWS_BUILD=1
|
WINDOWS_BUILD=1
|
||||||
else ifeq ($(shell uname -s),Darwin)
|
else ifeq ($(shell uname -s),Darwin)
|
||||||
|
ifeq ($(AR),ar)
|
||||||
APPLE_BUILD ?= 1
|
APPLE_BUILD ?= 1
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# To compile as a shared library:
|
# To compile as a shared library:
|
||||||
ifdef SHARED
|
ifdef SHARED
|
||||||
|
|
Loading…
Reference in a new issue