We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 694d69a + 18c9cf7 commit 6d267ffCopy full SHA for 6d267ff
Makefile
@@ -75,7 +75,7 @@ SYMLINK= ln -sf
75
INSTALL_X= install -m 0755
76
INSTALL_F= install -m 0644
77
UNINSTALL= $(RM)
78
-LDCONFIG= ldconfig -n
+LDCONFIG= ldconfig -n 2>/dev/null
79
SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \
80
-e "s|^multilib=.*|multilib=$(MULTILIB)|"
81
@@ -121,7 +121,7 @@ install: $(INSTALL_DEP)
121
$(RM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
122
cd src && test -f $(FILE_SO) && \
123
$(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
124
- $(LDCONFIG) $(INSTALL_LIB) && \
+ ( $(LDCONFIG) $(INSTALL_LIB) || : ) && \
125
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
126
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
127
cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)
0 commit comments