aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Lord <clord@redhat.com>2016-08-12 09:27:04 -0400
committerMax Reitz <mreitz@redhat.com>2016-09-20 22:12:57 +0200
commit4be4879ff8b4a6504ed981c470f3cb6b57eddb1d (patch)
tree8d3ceb2bdc9c911b28edfae8502fd17d978c09d3 /configure
parent88d88798b7efeb0be15b1a60e58b1f8ba4c2f700 (diff)
downloadqemu-4be4879ff8b4a6504ed981c470f3cb6b57eddb1d.zip
qemu-4be4879ff8b4a6504ed981c470f3cb6b57eddb1d.tar.gz
qemu-4be4879ff8b4a6504ed981c470f3cb6b57eddb1d.tar.bz2
blockdev: Modularize nfs block driver
Modularizes the nfs block driver so that it gets dynamically loaded. Signed-off-by: Colin Lord <clord@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1471008424-16465-5-git-send-email-clord@redhat.com Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7d083bd..2efc338 100755
--- a/configure
+++ b/configure
@@ -4578,7 +4578,6 @@ if test "$libnfs" != "no" ; then
if $pkg_config --atleast-version=1.9.3 libnfs; then
libnfs="yes"
libnfs_libs=$($pkg_config --libs libnfs)
- LIBS="$LIBS $libnfs_libs"
else
if test "$libnfs" = "yes" ; then
feature_not_found "libnfs" "Install libnfs devel >= 1.9.3"
@@ -5351,7 +5350,8 @@ if test "$libiscsi" = "yes" ; then
fi
if test "$libnfs" = "yes" ; then
- echo "CONFIG_LIBNFS=y" >> $config_host_mak
+ echo "CONFIG_LIBNFS=m" >> $config_host_mak
+ echo "LIBNFS_LIBS=$libnfs_libs" >> $config_host_mak
fi
if test "$seccomp" = "yes"; then