summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:45:30 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 13:45:30 +0000
commitb8470619016a1f87a6d2db4ce1857608dbd2fb21 (patch)
tree5dff6f0557f7da575ab9c0ace0c8bc8b0e80fc81 /Makefile.in
parentAdding debian version 1.1-4. (diff)
downloadlzlib-b8470619016a1f87a6d2db4ce1857608dbd2fb21.tar.xz
lzlib-b8470619016a1f87a6d2db4ce1857608dbd2fb21.zip
Merging upstream version 1.2.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 94e0114..fd9c6b6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -5,7 +5,7 @@ INSTALL = install
INSTALL_PROGRAM = $(INSTALL) -p -m 755
INSTALL_DATA = $(INSTALL) -p -m 644
INSTALL_DIR = $(INSTALL) -d -m 755
-LDCONFIG = ldconfig
+LDCONFIG = /sbin/ldconfig
SHELL = /bin/sh
lib_objs = decoder.o encoder.o lzlib.o
@@ -101,7 +101,7 @@ install : all install-info
else run_ldconfig=yes ; \
fi ; \
cd "$(DESTDIR)$(libdir)" && ln -s lib$(libname).so.$(pkgversion) lib$(libname).so.$(soversion) ; \
- if [ $${run_ldconfig} = yes ] ; then $(LDCONFIG) "$(DESTDIR)$(libdir)" ; fi ; \
+ if [ $${run_ldconfig} = yes ] && [ -x "$(LDCONFIG)" ] ; then "$(LDCONFIG)" -n "$(DESTDIR)$(libdir)" ; fi ; \
fi
install-info :