From: Christian Hesse <[email protected]>

Without this installation fails with:

install: target '$DESTDIR/usr/lib/multipath' is not a directory
Signed-off-by: Christian Hesse <[email protected]>
---
 libmultipath/prioritizers/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libmultipath/prioritizers/Makefile 
b/libmultipath/prioritizers/Makefile
index 9d0fe03c..11da5be2 100644
--- a/libmultipath/prioritizers/Makefile
+++ b/libmultipath/prioritizers/Makefile
@@ -35,6 +35,7 @@ libprio%.so: %.o
        $(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
 
 install: $(LIBS)
+       $(INSTALL_PROGRAM) -d $(DESTDIR)$(libdir)
        $(INSTALL_PROGRAM) -m 755 libprio*.so $(DESTDIR)$(libdir)
 
 uninstall:


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to