Don't use absolute path in link target. DESTDIR usually points to a temporary staging directory e.g. when packaging and it should not appear in symlinks. Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxxx> --- libmpathpersist/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpathpersist/Makefile b/libmpathpersist/Makefile index c4ec1c5..ef8f12b 100644 --- a/libmpathpersist/Makefile +++ b/libmpathpersist/Makefile @@ -32,7 +32,7 @@ install: $(LIBS) $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)$(man3dir) $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/include/ $(INSTALL_PROGRAM) -m 755 -d $(DESTDIR)/usr/share/doc/mpathpersist/ - ln -sf $(DESTDIR)$(syslibdir)/$(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB) + ln -sf $(LIBS) $(DESTDIR)$(syslibdir)/$(DEVLIB) install -m 644 mpath_persistent_reserve_in.3.gz $(DESTDIR)$(man3dir) install -m 644 mpath_persistent_reserve_out.3.gz $(DESTDIR)$(man3dir) install -m 644 mpath_persist.h $(DESTDIR)/usr/include/ -- 2.1.1 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel