diff options
author | Mike Pall <mike> | 2020-01-25 17:37:12 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2020-01-25 17:37:12 +0100 |
commit | 18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80 (patch) | |
tree | b656cd4f748f025aa42055f623b72e5f6ba572f7 /Makefile | |
parent | 62903bacf4abbb1c6df0f395553eeaf1f68352c6 (diff) | |
download | luajit-18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80.tar.gz luajit-18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80.tar.bz2 luajit-18c9cf7d3788a8f7408df45df92fc4ae3bcc0d80.zip |
Fix POSIX install with missing or incompatible ldconfig.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ SYMLINK= ln -sf | |||
74 | INSTALL_X= install -m 0755 | 74 | INSTALL_X= install -m 0755 |
75 | INSTALL_F= install -m 0644 | 75 | INSTALL_F= install -m 0644 |
76 | UNINSTALL= $(RM) | 76 | UNINSTALL= $(RM) |
77 | LDCONFIG= ldconfig -n | 77 | LDCONFIG= ldconfig -n 2>/dev/null |
78 | SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ | 78 | SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ |
79 | -e "s|^multilib=.*|multilib=$(MULTILIB)|" | 79 | -e "s|^multilib=.*|multilib=$(MULTILIB)|" |
80 | 80 | ||
@@ -118,7 +118,7 @@ install: $(INSTALL_DEP) | |||
118 | $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) | 118 | $(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2) |
119 | cd src && test -f $(FILE_SO) && \ | 119 | cd src && test -f $(FILE_SO) && \ |
120 | $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ | 120 | $(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \ |
121 | $(LDCONFIG) $(INSTALL_LIB) && \ | 121 | ( $(LDCONFIG) $(INSTALL_LIB) || : ) && \ |
122 | $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ | 122 | $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \ |
123 | $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : | 123 | $(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || : |
124 | cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) | 124 | cd etc && $(INSTALL_F) $(FILE_MAN) $(INSTALL_MAN) |