[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 09/15] RFC: build-sys: add slirp.wrap
From: |
marcandre . lureau |
Subject: |
[PATCH v2 09/15] RFC: build-sys: add slirp.wrap |
Date: |
Tue, 21 Feb 2023 01:48:53 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
This allows to build with --enable-slirp / -D slirp=enabled, even when
libslirp is not installed on the system. Meson will pull it from git in
that case.
RFC because this is very convenient, for a developper targetting
different environments, but might not be considered appropriate, as it
is "a kind of" git submodule (without git submodule integration issues
though, afaik, experience should tell).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
.gitignore | 2 ++
subprojects/slirp.wrap | 6 ++++++
2 files changed, 8 insertions(+)
create mode 100644 subprojects/slirp.wrap
diff --git a/.gitignore b/.gitignore
index 61fa39967b..1ea59f4819 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,5 @@ GTAGS
*.swp
*.patch
*.gcov
+
+/subprojects/slirp
diff --git a/subprojects/slirp.wrap b/subprojects/slirp.wrap
new file mode 100644
index 0000000000..87cdd8dcd8
--- /dev/null
+++ b/subprojects/slirp.wrap
@@ -0,0 +1,6 @@
+[wrap-git]
+url = https://gitlab.freedesktop.org/slirp/libslirp
+revision = 15c52d69
+
+[provide]
+slirp = libslirp_dep
--
2.39.1
- [PATCH v2 00/15] win32: do not mix SOCKET and fd space, marcandre . lureau, 2023/02/20
- [PATCH v2 01/15] util: drop qemu_fork(), marcandre . lureau, 2023/02/20
- [PATCH v2 02/15] tests: use closesocket(), marcandre . lureau, 2023/02/20
- [PATCH v2 03/15] io: use closesocket(), marcandre . lureau, 2023/02/20
- [PATCH v2 04/15] error: add global &error_warn destination, marcandre . lureau, 2023/02/20
- [PATCH v2 07/15] aio: make aio_set_fd_poll() static to aio-posix.c, marcandre . lureau, 2023/02/20
- [PATCH v2 09/15] RFC: build-sys: add slirp.wrap,
marcandre . lureau <=
- [PATCH v2 08/15] aio/win32: aio_set_fd_handler() only supports SOCKET, marcandre . lureau, 2023/02/20
- [PATCH v2 12/15] slirp: open-code qemu_socket_(un)select(), marcandre . lureau, 2023/02/20
- [PATCH v2 13/15] win32: avoid mixing SOCKET and file descriptor space, marcandre . lureau, 2023/02/20
- [PATCH v2 15/15] win32: replace closesocket() with close() wrapper, marcandre . lureau, 2023/02/20
- [PATCH v2 14/15] os-posix: remove useless ioctlsocket() define, marcandre . lureau, 2023/02/20
- [PATCH v2 11/15] slirp: unregister the win32 SOCKET, marcandre . lureau, 2023/02/20
- [PATCH v2 10/15] main-loop: remove qemu_fd_register(), win32/slirp/socket specific, marcandre . lureau, 2023/02/20
- [PATCH v2 06/15] win32/socket: introduce qemu_socket_unselect() helper, marcandre . lureau, 2023/02/20
- [PATCH v2 05/15] win32/socket: introduce qemu_socket_select() helper, marcandre . lureau, 2023/02/20