[dm-devel] [PATCH 1/2] libmpathpersist: depend on libmultipath

Martin Wilck mwilck at suse.com
Thu May 7 21:18:51 UTC 2020


On Wed, 2020-05-06 at 09:35 +0200, Christian Hesse wrote:
> From: Christian Hesse <mail at eworm.de>
> 
> Without this the build fails with:
> 
> /usr/bin/ld: cannot find -lmultipath

Thank you. Strange, I've built multipath thousands of times and never
hit this error. 

> 
> Signed-off-by: Christian Hesse <mail at eworm.de>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 1dee3680..ba1d73ba 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -28,7 +28,7 @@ all:	$(BUILDDIRS)
>  $(BUILDDIRS):
>  	$(MAKE) -C $@
>  
> -multipath multipathd mpathpersist: libmultipath
> +libmpathpersist multipath multipathd mpathpersist: libmultipath
>  mpathpersist:  libmpathpersist

Reviewed-by: Martin Wilck <mwilck at suse.com>






More information about the dm-devel mailing list