support building on OSX 10.6.8. this fix is ported over from Capstone
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user