Explorar o código

Don't try to run ldconfig unless it exists

Eric Andersen %!s(int64=25) %!d(string=hai) anos
pai
achega
0af935ea15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -147,7 +147,7 @@ install_runtime:
 #ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
 #ifeq ($(LDSO_PRESENT), $(TARGET_ARCH))
 	ln -sf $(INSTALL_DIR)/lib/$(UCLIBC_LDSO) /lib/$(UCLIBC_LDSO);
 	ln -sf $(INSTALL_DIR)/lib/$(UCLIBC_LDSO) /lib/$(UCLIBC_LDSO);
 	install -d $(INSTALL_DIR)/etc
 	install -d $(INSTALL_DIR)/etc
-	ldso/util/ldconfig
+	-@if [ -x ldso/util/ldconfig ] ; then ldso/util/ldconfig; fi
 #endif
 #endif
 
 
 # Installs development library and headers
 # Installs development library and headers