[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 5/7] slirp: update build flags for iOS resolv fix
From: |
Joelle van Dyne |
Subject: |
[PATCH v4 5/7] slirp: update build flags for iOS resolv fix |
Date: |
Sat, 7 Nov 2020 21:26:03 -0800 |
A future libslirp update will use libresolv on Darwin systems, so we add the
flags in QEMU build now.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Joelle van Dyne <j@getutm.app>
---
meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meson.build b/meson.build
index e62324d5ac..664d9f93a5 100644
--- a/meson.build
+++ b/meson.build
@@ -1156,6 +1156,8 @@ if have_system
slirp_deps = []
if targetos == 'windows'
slirp_deps = cc.find_library('iphlpapi')
+ elif targetos == 'darwin'
+ slirp_deps = cc.find_library('resolv')
endif
slirp_conf = configuration_data()
slirp_conf.set('SLIRP_MAJOR_VERSION',
meson.project_version().split('.')[0])
--
2.28.0
- [PATCH v4 0/7] iOS and Apple Silicon host support, Joelle van Dyne, 2020/11/08
- [PATCH v4 1/7] configure: option to disable host block devices, Joelle van Dyne, 2020/11/08
- [PATCH v4 2/7] configure: cross-compiling with empty cross_prefix, Joelle van Dyne, 2020/11/08
- [PATCH v4 3/7] qemu: add support for iOS host, Joelle van Dyne, 2020/11/08
- [PATCH v4 4/7] coroutine: add libucontext as external library, Joelle van Dyne, 2020/11/08
- [PATCH v4 5/7] slirp: update build flags for iOS resolv fix,
Joelle van Dyne <=
- [PATCH v4 6/7] tcg: implement JIT for iOS and Apple Silicon, Joelle van Dyne, 2020/11/08
- [PATCH v4 7/7] block: check availablity for preadv/pwritev on mac, Joelle van Dyne, 2020/11/08