Skip to content

Commit 6d267ff

Browse files
author
Mike Pall
committed
Merge branch 'master' into v2.1
2 parents 694d69a + 18c9cf7 commit 6d267ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ SYMLINK= ln -sf
7575
INSTALL_X= install -m 0755
7676
INSTALL_F= install -m 0644
7777
UNINSTALL= $(RM)
78-
LDCONFIG= ldconfig -n
78+
LDCONFIG= ldconfig -n 2>/dev/null
7979
SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \
8080
-e "s|^multilib=.*|multilib=$(MULTILIB)|"
8181

@@ -121,7 +121,7 @@ install: $(INSTALL_DEP)
121121
$(RM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
122122
cd src && test -f $(FILE_SO) && \
123123
$(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
124-
$(LDCONFIG) $(INSTALL_LIB) && \
124+
( $(LDCONFIG) $(INSTALL_LIB) || : ) && \
125125
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
126126
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
127127
cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN)

0 commit comments

Comments
 (0)