summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 20:12:09 +0000
committerhpa <hpa>2003-04-16 20:12:09 +0000
commitff563b1afb6b188f7c4bcc987020cc5b569401e7 (patch)
treed7f26d516a77560a3ca0a33621f58d2e8078c7de
parentc45d7a5d707df0a8f97035cb8d19140851c3cc6e (diff)
downloadsyslinux-ff563b1afb6b188f7c4bcc987020cc5b569401e7.tar.gz
Only ldconfig if we're not using an INSTALLROOT
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f73efcc0..b6237ef6 100644
--- a/Makefile
+++ b/Makefile
@@ -182,7 +182,7 @@ install-lib: installer
install -m 644 -c $(INSTALL_LIB) $(INSTALLROOT)$(LIBDIR)
install -m 644 -c $(INSTALL_INC) $(INSTALLROOT)$(INCDIR)
cd $(INSTALLROOT)$(LIBDIR) && ln -sf $(LIB_SO) libsyslinux.so
- ldconfig
+ [ -z '$(INSTALLROOT)' ] && ldconfig
install-all: install install-all