Commit 18c9cf7 Mike Pall
committed
1 parent 62903ba commit 18c9cf7 Copy full SHA for 18c9cf7
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ SYMLINK= ln -sf
74
74
INSTALL_X = install -m 0755
75
75
INSTALL_F = install -m 0644
76
76
UNINSTALL = $(RM )
77
- LDCONFIG = ldconfig -n
77
+ LDCONFIG = ldconfig -n 2>/dev/null
78
78
SED_PC = sed -e "s|^prefix=.*|prefix=$(PREFIX ) |" \
79
79
-e "s|^multilib=.*|multilib=$(MULTILIB ) |"
80
80
@@ -118,7 +118,7 @@ install: $(INSTALL_DEP)
118
118
$(RM ) $(INSTALL_TSYM ) $(INSTALL_DYN ) $(INSTALL_SHORT1 ) $(INSTALL_SHORT2 )
119
119
cd src && test -f $(FILE_SO ) && \
120
120
$(INSTALL_X ) $(FILE_SO ) $(INSTALL_DYN ) && \
121
- $(LDCONFIG ) $(INSTALL_LIB ) && \
121
+ ( $( LDCONFIG) $( INSTALL_LIB) || : ) && \
122
122
$(SYMLINK ) $(INSTALL_SONAME ) $(INSTALL_SHORT1 ) && \
123
123
$(SYMLINK ) $(INSTALL_SONAME ) $(INSTALL_SHORT2 ) || :
124
124
cd etc && $(INSTALL_F ) $(FILE_MAN ) $(INSTALL_MAN )
You can’t perform that action at this time.
0 commit comments