diff options
author | SangWook Han <swhan@nemustech.com> | 2012-06-08 14:55:05 +0900 |
---|---|---|
committer | SangWook Han <swhan@nemustech.com> | 2012-06-08 14:55:05 +0900 |
commit | 02eb37c267adff3528c9e88cdfdd59035ce934b8 (patch) | |
tree | df40a96f7c44be3a0ee2a6a6dc1eea38edfd9a19 /core | |
parent | e375c940b9210ea514227b0ee8cfb896d7f11d93 (diff) | |
download | build-02eb37c267adff3528c9e88cdfdd59035ce934b8.zip build-02eb37c267adff3528c9e88cdfdd59035ce934b8.tar.gz build-02eb37c267adff3528c9e88cdfdd59035ce934b8.tar.bz2 |
Fix generic build on Max OS X 10.7 Lion
Recover variable build_mac_version which is removed on
commit 644dc16 and added on commit 9ce06f1.
Without this, ranlib libSDL.a is executed on Lion which
causes build fail of emulator-arm.
Change-Id: I06144a288921f8f968ef457999398c1b9152d4aa
Diffstat (limited to 'core')
-rw-r--r-- | core/combo/HOST_darwin-x86.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/combo/HOST_darwin-x86.mk b/core/combo/HOST_darwin-x86.mk index 5ab2c0d..8be6a42 100644 --- a/core/combo/HOST_darwin-x86.mk +++ b/core/combo/HOST_darwin-x86.mk @@ -23,6 +23,7 @@ HOST_GLOBAL_CFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32 +build_mac_version := $(shell sw_vers -productVersion) mac_sdk_version := 10.6 mac_sdk_root := /Developer/SDKs/MacOSX$(mac_sdk_version).sdk ifeq ($(wildcard $(mac_sdk_root)),) |