1From 69ee17207574ca032c3cb46a3db99736de3eedf8 Mon Sep 17 00:00:00 2001 2From: Hongxu Jia <hongxu.jia@windriver.com> 3Date: Mon, 25 May 2020 23:22:55 -0700 4Subject: [PATCH] add explicit dependency on libraries 5 6[snip] 7gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist 8collect2: error: ld returned 1 exit status 9Makefile:36: recipe for target 'multipathd' failed 10make[1]: *** [multipathd] Error 1 11make[1]: Leaving directory 'git/multipathd' 12Makefile:29: recipe for target 'multipathd' failed 13make: *** [multipathd] Error 2 14ln -sf libmpathpersist.so.0 libmpathpersist.so 15[snip] 16 17Upstream-Status: Pending 18 19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 20[OP: Rebase to 0.9.3] 21Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> 22--- 23 Makefile | 1 + 24 1 file changed, 1 insertion(+) 25 26diff --git a/Makefile b/Makefile 27index 690dc050..b775f949 100644 28--- a/Makefile 29+++ b/Makefile 30@@ -93,6 +93,7 @@ libmultipath: libmpathutil 31 libmpathpersist libmpathvalid multipath multipathd: libmultipath 32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath 33 mpathpersist multipathd: libmpathpersist 34+libmultipath mpathpersist multipath multipathd: libmpathcmd 35 36 DEPS_ON_MULTIPATH := \ 37 multipath \ 38-- 392.25.1 40 41