aboutsummaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-02 17:18:47 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2023-04-20 11:17:34 +0200
commit0abe33c13adb0ef67bfbbdce30dc5d9735899906 (patch)
tree67ccfca48e12f72e9e4c302daa70722fde8d0d0b /subprojects
parent5a347a735232750f8b524aeaea68e9b6f1647f72 (diff)
build-sys: add slirp.wrap
This allows to build with --enable-slirp / -D slirp=enabled, even when libslirp is not installed on the system. "meson subprojects download" will pull it from git in that case. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230302131848.1527460-4-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/slirp.wrap6
1 files changed, 6 insertions, 0 deletions
diff --git a/subprojects/slirp.wrap b/subprojects/slirp.wrap
new file mode 100644
index 0000000000..ace4f26102
--- /dev/null
+++ b/subprojects/slirp.wrap
@@ -0,0 +1,6 @@
+[wrap-git]
+url = https://gitlab.freedesktop.org/slirp/libslirp
+revision = 15c52d697529eb3e78c5d8aa324d61715bce33b6
+
+[provide]
+slirp = libslirp_dep