OSDN Git Service

Don't try to run ldconfig unless it exists
authorEric Andersen <andersen@codepoet.org>
Sat, 26 May 2001 06:16:44 +0000 (06:16 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 26 May 2001 06:16:44 +0000 (06:16 -0000)
Makefile

index 367d5e9..c83a6f8 100644 (file)
--- a/Makefile
+++ b/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