mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-31 23:15:44 +00:00
support building on OSX 10.6.8. this fix is ported over from Capstone
This commit is contained in:
parent
0d668d57e7
commit
203876d4f6
2
Makefile
2
Makefile
|
@ -93,7 +93,7 @@ VERSION_EXT =
|
||||||
|
|
||||||
BIN_EXT =
|
BIN_EXT =
|
||||||
|
|
||||||
IS_APPLE := $(shell $(CC) -dM -E - < /dev/null | grep __apple_build_version__ | wc -l | tr -d " ")
|
IS_APPLE := $(shell $(CC) -dM -E - < /dev/null | grep -cm 1 -e __apple_build_version__ -e __APPLE_CC__)
|
||||||
ifeq ($(IS_APPLE),1)
|
ifeq ($(IS_APPLE),1)
|
||||||
EXT = dylib
|
EXT = dylib
|
||||||
VERSION_EXT = $(API_MAJOR).$(EXT)
|
VERSION_EXT = $(API_MAJOR).$(EXT)
|
||||||
|
|
Loading…
Reference in a new issue