[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 058/147] meson: add macos dependencies
From: |
Paolo Bonzini |
Subject: |
[PATCH 058/147] meson: add macos dependencies |
Date: |
Mon, 10 Aug 2020 19:07:36 +0200 |
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 3388d68..74be140 100644
--- a/meson.build
+++ b/meson.build
@@ -48,6 +48,10 @@ m = cc.find_library('m', required: false)
util = cc.find_library('util', required: false)
socket = []
version_res = []
+coref = []
+iokit = []
+cocoa = []
+hvf = []
if host_machine.system() == 'windows'
socket = cc.find_library('ws2_32')
@@ -55,6 +59,11 @@ if host_machine.system() == 'windows'
version_res = win.compile_resources('version.rc',
depend_files:
files('pc-bios/qemu-nsis.ico'),
include_directories:
include_directories('.'))
+elif host_machine.system() == '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())
--
1.8.3.1
- [PATCH 046/147] meson: generate shader headers, (continued)
- [PATCH 046/147] meson: generate shader headers, Paolo Bonzini, 2020/08/10
- [PATCH 048/147] meson: handle edk2 bios and descriptors, Paolo Bonzini, 2020/08/10
- [PATCH 049/147] meson: convert check-decodetree, Paolo Bonzini, 2020/08/10
- [PATCH 050/147] meson: convert tests/fp and check-softfloat, Paolo Bonzini, 2020/08/10
- [PATCH 051/147] meson: convert check-qapi-schema, Paolo Bonzini, 2020/08/10
- [PATCH 052/147] meson: convert qom directory to Meson (tools part), Paolo Bonzini, 2020/08/10
- [PATCH 054/147] meson: convert crypto directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 055/147] meson: convert io directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 053/147] meson: convert authz directory to Meson, Paolo Bonzini, 2020/08/10
- [PATCH 056/147] meson: convert target/s390x/gen-features.h, Paolo Bonzini, 2020/08/10
- [PATCH 058/147] meson: add macos dependencies,
Paolo Bonzini <=
- [PATCH 059/147] meson: add modules infrastructure, Paolo Bonzini, 2020/08/10
- [PATCH 060/147] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/10
- [PATCH 061/147] meson: convert block, Paolo Bonzini, 2020/08/10
- [PATCH 063/147] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/10
- [PATCH 064/147] configure, Makefile; remove TOOLS and HELPERS-y variable, Paolo Bonzini, 2020/08/10
- [PATCH 065/147] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/10
- [PATCH 066/147] meson: convert tests/qtest to meson, Paolo Bonzini, 2020/08/10
- [PATCH 062/147] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/10
- [PATCH 069/147] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/10