[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v8 039/152] meson: add macos dependencies
From: |
Paolo Bonzini |
Subject: |
[PULL v8 039/152] meson: add macos dependencies |
Date: |
Fri, 21 Aug 2020 06:21:36 -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 59ac2f05d9..d9758629cc 100644
--- a/meson.build
+++ b/meson.build
@@ -50,6 +50,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')
@@ -57,6 +61,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 v8 017/152] configure: integrate Meson in the build system, (continued)
- [PULL v8 017/152] configure: integrate Meson in the build system, Paolo Bonzini, 2020/08/21
- [PULL v8 031/152] contrib/vhost-user-blk: convert to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 026/152] libqemuutil, qapi, trace: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 030/152] tools/virtiofsd: convert to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 032/152] vhost-user-scsi: add compatibility for libiscsi 1.9.0, Paolo Bonzini, 2020/08/21
- [PULL v8 033/152] contrib/vhost-user-scsi: convert to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 037/152] contrib/ivshmem: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 035/152] contrib/vhost-user-input: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 038/152] contrib/elf2dmp: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 040/152] meson: add solaris and Haiku libraries, Paolo Bonzini, 2020/08/21
- [PULL v8 039/152] meson: add macos dependencies,
Paolo Bonzini <=
- [PULL v8 045/152] meson: add qemu-bridge-helper, Paolo Bonzini, 2020/08/21
- [PULL v8 044/152] meson: convert dummy Windows qga/qemu-ga target, Paolo Bonzini, 2020/08/21
- [PULL v8 042/152] meson: convert vss-win32, Paolo Bonzini, 2020/08/21
- [PULL v8 046/152] meson: add qemu-keymap, Paolo Bonzini, 2020/08/21
- [PULL v8 034/152] contrib/rdmacm-mux: convert to Meson, Paolo Bonzini, 2020/08/21
- [PULL v8 036/152] contrib/vhost-user-gpu: convert to meson, Paolo Bonzini, 2020/08/21
- [PULL v8 043/152] meson: add msi generation, Paolo Bonzini, 2020/08/21
- [PULL v8 041/152] meson: convert qemu-ga, Paolo Bonzini, 2020/08/21
- [PULL v8 049/152] meson: keymap-gen, Paolo Bonzini, 2020/08/21
- [PULL v8 048/152] meson: add virtfs-proxy-helper, Paolo Bonzini, 2020/08/21