[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 038/150] meson: add macos dependencies
From: |
Paolo Bonzini |
Subject: |
[PULL 038/150] meson: add macos dependencies |
Date: |
Tue, 18 Aug 2020 10:08:33 -0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
There is no probing in configure, so no need to pass them as
variables to meson. Do a regular meson dependency() instead.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
meson.build | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 1fd903c32a..7d34f12be1 100644
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,10 @@ m = cc.find_library('m', required: false)
util = cc.find_library('util', required: false)
socket = []
version_res = []
+coref = []
+iokit = []
+cocoa = []
+hvf = []
if targetos == 'windows'
socket = cc.find_library('ws2_32')
@@ -54,6 +58,11 @@ if targetos == 'windows'
version_res = win.compile_resources('version.rc',
depend_files:
files('pc-bios/qemu-nsis.ico'),
include_directories:
include_directories('.'))
+elif targetos == 'darwin'
+ coref = dependency('appleframeworks', modules: 'CoreFoundation')
+ iokit = dependency('appleframeworks', modules: 'IOKit')
+ cocoa = dependency('appleframeworks', modules: 'Cocoa')
+ hvf = dependency('appleframeworks', modules: 'Hypervisor')
endif
glib = declare_dependency(compile_args: config_host['GLIB_CFLAGS'].split(),
link_args: config_host['GLIB_LIBS'].split())
--
2.26.2
- [PULL 023/150] meson: add sparse support, (continued)
- [PULL 023/150] meson: add sparse support, Paolo Bonzini, 2020/08/18
- [PULL 026/150] meson: add remaining generated tcg trace helpers, Paolo Bonzini, 2020/08/18
- [PULL 024/150] meson: add testsuite Makefile generator, Paolo Bonzini, 2020/08/18
- [PULL 031/150] vhost-user-scsi: add compatibility for libiscsi 1.9.0, Paolo Bonzini, 2020/08/18
- [PULL 032/150] contrib/vhost-user-scsi: convert to Meson, Paolo Bonzini, 2020/08/18
- [PULL 036/150] contrib/ivshmem: convert to meson, Paolo Bonzini, 2020/08/18
- [PULL 035/150] contrib/vhost-user-gpu: convert to meson, Paolo Bonzini, 2020/08/18
- [PULL 044/150] meson: add qemu-bridge-helper, Paolo Bonzini, 2020/08/18
- [PULL 042/150] meson: add msi generation, Paolo Bonzini, 2020/08/18
- [PULL 046/150] meson: add qemu-edid, Paolo Bonzini, 2020/08/18
- [PULL 038/150] meson: add macos dependencies,
Paolo Bonzini <=
- [PULL 025/150] libqemuutil, qapi, trace: convert to meson, Paolo Bonzini, 2020/08/18
- [PULL 033/150] contrib/rdmacm-mux: convert to Meson, Paolo Bonzini, 2020/08/18
- [PULL 037/150] contrib/elf2dmp: convert to meson, Paolo Bonzini, 2020/08/18
- [PULL 039/150] meson: add solaris and Haiku libraries, Paolo Bonzini, 2020/08/18
- [PULL 045/150] meson: add qemu-keymap, Paolo Bonzini, 2020/08/18
- [PULL 041/150] meson: convert vss-win32, Paolo Bonzini, 2020/08/18
- [PULL 043/150] meson: convert dummy Windows qga/qemu-ga target, Paolo Bonzini, 2020/08/18
- [PULL 050/150] meson: generate shader headers, Paolo Bonzini, 2020/08/18
- [PULL 049/150] meson: generate qemu-version.h, Paolo Bonzini, 2020/08/18
- [PULL 052/150] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/18