From c3c9c6f72fe60762874f4591ba0352b614e34d14 Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 21 Dec 2011 13:16:22 -0800 Subject: Fix build on MacOS 10.7 / XCode 4 Force the inclusion of the dynamic linker libraries used by the prebuilt libSDL. I did look at turning the switch on to build libSDL from source, but libSDL-1.2 isn't buildable under 10.7/XCode 4, and they've moved on to 1.3 now, so that would have been a dead end; Change-Id: Idf75bb46e855929543395811d4d56e1f7dfa3785 --- Makefile.android | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile.android') diff --git a/Makefile.android b/Makefile.android index 0d53f42..d638640 100644 --- a/Makefile.android +++ b/Makefile.android @@ -191,6 +191,11 @@ endif ifeq ($(HOST_OS),darwin) QEMU_SYSTEM_LDLIBS += -Wl,-framework,Cocoa,-framework,QTKit,-framework,CoreVideo + ifneq ($(filter 10.7 10.7.%,$(DARWIN_VERSION)),) + # Lion needs to be forced to link dylib to avoid problems + # with the dynamic function lookups in SDL 1.2 + QEMU_SYSTEM_LDLIBS += /usr/lib/dylib1.o + endif endif include $(LOCAL_PATH)/Makefile.common -- cgit v1.1