diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-02 17:18:47 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-04-20 11:17:34 +0200 |
commit | 0abe33c13adb0ef67bfbbdce30dc5d9735899906 (patch) | |
tree | 67ccfca48e12f72e9e4c302daa70722fde8d0d0b | |
parent | 5a347a735232750f8b524aeaea68e9b6f1647f72 (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>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | subprojects/slirp.wrap | 6 |
2 files changed, 8 insertions, 0 deletions
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..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 |