blob: 2f774940d62e5559f8f033cc013ab69d51134477 [file] [log] [blame]
Patrick Williamsb58112e2024-03-07 11:16:36 -06001From 7a46f43682641436464579d8bf76c382e71ea557 Mon Sep 17 00:00:00 2001
Andrew Geisslereafcbb82020-06-05 17:59:17 -05002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 25 May 2020 23:22:55 -0700
Patrick Williamsb58112e2024-03-07 11:16:36 -06004Subject: [PATCH 12/12] add explicit dependency on libraries
Andrew Geisslereafcbb82020-06-05 17:59:17 -05005
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>
Andrew Geissler517393d2023-01-13 08:55:19 -060020[OP: Rebase to 0.9.3]
21Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Andrew Geisslereafcbb82020-06-05 17:59:17 -050022---
Andrew Geissler517393d2023-01-13 08:55:19 -060023 Makefile | 1 +
24 1 file changed, 1 insertion(+)
Andrew Geisslereafcbb82020-06-05 17:59:17 -050025
26diff --git a/Makefile b/Makefile
Patrick Williamsb58112e2024-03-07 11:16:36 -060027index 065249c2..0444c2ea 100644
Andrew Geisslereafcbb82020-06-05 17:59:17 -050028--- a/Makefile
29+++ b/Makefile
Patrick Williamsb58112e2024-03-07 11:16:36 -060030@@ -90,6 +90,7 @@ libmultipath: libmpathutil
Andrew Geissler517393d2023-01-13 08:55:19 -060031 libmpathpersist libmpathvalid multipath multipathd: libmultipath
32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
33 mpathpersist multipathd: libmpathpersist
34+libmultipath mpathpersist multipath multipathd: libmpathcmd
Andrew Geisslereafcbb82020-06-05 17:59:17 -050035
36 DEPS_ON_MULTIPATH := \
37 multipath \
38--
Patrick Williamsb58112e2024-03-07 11:16:36 -0600392.25.1
Andrew Geisslereafcbb82020-06-05 17:59:17 -050040