Browse Source

Don't try to run ldconfig unless it exists

Eric Andersen 24 years ago
parent
commit
0af935ea15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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