提交 7973f21c 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

Add cocoa libs at Darwin selection time

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
上级 f0302935
...@@ -285,10 +285,6 @@ obj-sh4-y += ide.o ...@@ -285,10 +285,6 @@ obj-sh4-y += ide.o
obj-m68k-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o obj-m68k-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o
obj-m68k-y += m68k-semi.o dummy_m68k.o obj-m68k-y += m68k-semi.o dummy_m68k.o
ifdef CONFIG_COCOA
COCOA_LIBS=-F/System/Library/Frameworks -framework Cocoa -framework IOKit
endif
# profiling code # profiling code
ifdef TARGET_GPROF ifdef TARGET_GPROF
main.o vl.o: QEMU_CFLAGS+=-p main.o vl.o: QEMU_CFLAGS+=-p
...@@ -300,7 +296,6 @@ vl.o: qemu-options.h ...@@ -300,7 +296,6 @@ vl.o: qemu-options.h
monitor.o: qemu-monitor.h monitor.o: qemu-monitor.h
LIBS += $(COCOA_LIBS)
ARLIBS=../libqemu_common.a libqemu.a $(HWLIB) ARLIBS=../libqemu_common.a libqemu.a $(HWLIB)
endif # CONFIG_SOFTMMU endif # CONFIG_SOFTMMU
......
...@@ -291,6 +291,7 @@ Darwin) ...@@ -291,6 +291,7 @@ Darwin)
audio_drv_list="coreaudio" audio_drv_list="coreaudio"
audio_possible_drivers="coreaudio sdl fmod" audio_possible_drivers="coreaudio sdl fmod"
LDFLAGS="-framework CoreFoundation -framework IOKit $LDFLAGS" LDFLAGS="-framework CoreFoundation -framework IOKit $LDFLAGS"
libs_softmmu="-F/System/Library/Frameworks -framework Cocoa -framework IOKit $libs_softmmu"
;; ;;
SunOS) SunOS)
solaris="yes" solaris="yes"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册