From 49dd3f3b705e9a78984699d52ddf9ed9561c9dc2 Mon Sep 17 00:00:00 2001 From: Al Sutton Date: Wed, 4 Jan 2012 15:19:05 -0800 Subject: Improve emulator under MacOS Lion Lion/XCode4 needs to be explicitly told the dynamic library lookup symbols in the precompiled libSDL are resolved at runtime --- Makefile.android | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.android') diff --git a/Makefile.android b/Makefile.android index d638640..184179e 100644 --- a/Makefile.android +++ b/Makefile.android @@ -192,9 +192,10 @@ 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 + # Lion/XCode4 needs to be explicitly told the dynamic library + # lookup symbols in the precompiled libSDL are resolved at + # runtime + QEMU_SYSTEM_LDLIBS += -undefined dynamic_lookup endif endif -- cgit v1.1