blob: 3b0a704480ceaa8423186dd30ffda3407499021a [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From ee9f7b6e764be5668bc958f8bb97a46e5056d050 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
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>
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
Andrew Geissler517393d2023-01-13 08:55:19 -060027index f195b570..2d22881c 100644
Andrew Geisslereafcbb82020-06-05 17:59:17 -050028--- a/Makefile
29+++ b/Makefile
Andrew Geissler517393d2023-01-13 08:55:19 -060030@@ -78,6 +78,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
Andrew Geisslereafcbb82020-06-05 17:59:17 -050035
36 DEPS_ON_MULTIPATH := \
37 multipath \
38--
Andrew Geissler517393d2023-01-13 08:55:19 -0600392.38.1
Andrew Geisslereafcbb82020-06-05 17:59:17 -050040