aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.android
diff options
context:
space:
mode:
authorAl Sutton <al@funkyandroid.com>2012-01-04 15:19:05 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-04 15:19:05 -0800
commit49dd3f3b705e9a78984699d52ddf9ed9561c9dc2 (patch)
tree8d86f1f206b5dccf9613c30e56f1aa9cc0c9fe96 /Makefile.android
parentba951b488cefd1dcb4512a39e323d5000fdafa4c (diff)
downloadexternal_qemu-49dd3f3b705e9a78984699d52ddf9ed9561c9dc2.zip
external_qemu-49dd3f3b705e9a78984699d52ddf9ed9561c9dc2.tar.gz
external_qemu-49dd3f3b705e9a78984699d52ddf9ed9561c9dc2.tar.bz2
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
Diffstat (limited to 'Makefile.android')
-rw-r--r--Makefile.android7
1 files changed, 4 insertions, 3 deletions
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