2017-12-14 01:53:24 +01:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Fri, 3 Nov 2017 11:12:40 -0600
|
2019-01-04 22:08:16 +01:00
|
|
|
Subject: Switch order of libraries for mpath support
|
2017-12-14 01:53:24 +01:00
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
Makefile | 2 +-
|
|
|
|
configure | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/Makefile b/Makefile
|
2019-09-12 17:54:03 +02:00
|
|
|
index 85862fb81a1d276c41133a31b2d9..00ed716275743a161ea05e7d2a1e 100644
|
2017-12-14 01:53:24 +01:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2019-09-12 17:54:03 +02:00
|
|
|
@@ -556,7 +556,7 @@ fsdev/virtfs-proxy-helper$(EXESUF): LIBS += -lcap
|
2017-12-14 01:53:24 +01:00
|
|
|
|
2019-05-02 00:51:10 +02:00
|
|
|
scsi/qemu-pr-helper$(EXESUF): scsi/qemu-pr-helper.o scsi/utils.o $(authz-obj-y) $(crypto-obj-y) $(io-obj-y) $(qom-obj-y) $(COMMON_LDADDS)
|
2017-12-14 01:53:24 +01:00
|
|
|
ifdef CONFIG_MPATH
|
|
|
|
-scsi/qemu-pr-helper$(EXESUF): LIBS += -ludev -lmultipath -lmpathpersist
|
|
|
|
+scsi/qemu-pr-helper$(EXESUF): LIBS += -ludev -lmpathpersist -lmultipath
|
|
|
|
endif
|
|
|
|
|
|
|
|
qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx $(SRC_PATH)/scripts/hxtool
|
|
|
|
diff --git a/configure b/configure
|
2019-09-12 17:54:03 +02:00
|
|
|
index 714e7fb6a1fbd72ccdcd92b506ce..578d208b374261803d84c22c2479 100755
|
2017-12-14 01:53:24 +01:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2019-09-12 17:54:03 +02:00
|
|
|
@@ -3781,7 +3781,7 @@ int main(void) {
|
2017-12-14 01:53:24 +01:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
EOF
|
|
|
|
- if compile_prog "" "-ludev -lmultipath -lmpathpersist" ; then
|
|
|
|
+ if compile_prog "" "-ludev -lmpathpersist -lmultipath" ; then
|
|
|
|
mpathpersist=yes
|
2018-12-06 22:20:59 +01:00
|
|
|
mpathpersist_new_api=yes
|
2017-12-14 01:53:24 +01:00
|
|
|
else
|