Link against libslirp

This commit is contained in:
Cole Robinson 2019-06-20 16:30:27 -04:00
parent 70ef327d5f
commit 17efd80578

View File

@ -306,6 +306,8 @@ BuildRequires: libpmem-devel
BuildRequires: libudev-devel
# qemu 4.0: Use for qauth infrastructure
BuildRequires: pam-devel
# qemu 4.0: user-mode networking
BuildRequires: libslirp-devel
# qemu 4.0: sphinx-build used for some docs
%if 0%{?fedora} > 30
BuildRequires: python3-sphinx
@ -949,6 +951,7 @@ run_configure() {
--enable-trace-backend=$tracebackends \
--extra-ldflags="$extraldflags -Wl,-z,relro -Wl,-z,now" \
--extra-cflags="%{optflags}" \
--enable-slirp=system \
"$@" || cat config.log
}