Rename libiscsi to libiscsiclient
PATCH 1/1 Rename libiscsi to libiscsiclient
Please find a patch that changes the name of the iscsi library from libiscsi to libiscsiclient
While libiscsi is a very nice name that works on all platforms, including win32, it clashes with a linux library.
regards
ronnie sahlberg
PATCH 1/1 Change library from libiscsi to libiscsiclient to match library rename in libiscsi
--- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
configure +2 -2
@@ -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"
Signature · 1 line
1.7.3.1
Re: [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi
Quoted 11 lines · Ronnie Sahlberg
Signed-off-by Ronnie Sahlberg <[email protected]>--- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)configure +0
-0@@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then #include <iscsi/iscsi.h>
configure if test "$libiscsi" != "no" ; then · line 2511
Quoted 10 lines
configure +2
-2int 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"
Shouldn't we rename the feature and the --with/--without name too here? This appears to be partial "fix" for the name change.
For the feature, I'd suggest using --with-iscsi instead of --with-libiscsiclient. But... dunno.
Thanks,
/mjt
Re: [Qemu-devel] [PATCH] Change library from libiscsi to libiscsiclient to match library rename in libiscsi
Please ignore this patch. We do not need it.
Quoted 33 lines · Michael Tokarev
Quoted 13 lines · Ronnie Sahlberg
Signed-off-by Ronnie Sahlberg <[email protected]>---
configure | 4 ++--1 files changed, 2 insertions(+), 2 deletions(-)configure +0
-0@@ -2503,9 +2503,9 @@ if test "$libiscsi" != "no" ; then #include <iscsi/iscsi.h> int main(void) { iscsi_create_context(""); return 0; }EOF
Quoted 8 lines
- if
compile_prog"-Werror" "-liscsi" ; then
+ ifcompile_prog"-Werror" "-liscsiclient" ; then libiscsi="yes"
- LIBS="$LIBS -liscsi"
+ LIBS="$LIBS -liscsiclient"
else
if test "$libiscsi" = "yes" ; thenfeature_not_found"libiscsi"Shouldn't we rename the feature and the --with/--without name too here? This appears to be partial "fix" for the name change.
For the feature, I'd suggest using --with-iscsi instead of --with-libiscsiclient. But... dunno.
Thanks,
/mjt