Signed-off-by: Ronnie Sahlberg <ronniesahlb...@gmail.com>
---
 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index fb0e18e..294c0c1 100755
--- a/configure
+++ b/configure
@@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then
 #include <iscsi/iscsi.h>
 int main(void) { iscsi_create_context(""); return 0; }
 EOF
-  if compile_prog "-Werror" "-liscsi" ; then
+  if compile_prog "-Werror" "-liscsiclient" ; then
     libiscsi="yes"
-    LIBS="$LIBS -liscsi"
+    LIBS="$LIBS -liscsiclient"
   else
     if test "$libiscsi" = "yes" ; then
       feature_not_found "libiscsi"
-- 
1.7.3.1


Reply via email to