summaryrefslogtreecommitdiffstats
path: root/extensions/GNUmakefile.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-06-12 12:10:47 +0200
committerPatrick McHardy <kaber@trash.net>2008-06-12 12:10:47 +0200
commite145621e88ef65d2c1f34f9225c4c0cb7e52516d (patch)
tree5efb3d593d3e8f44d9033bc3354a327e55b299c9 /extensions/GNUmakefile.in
parent48607816796124ce2177ee22645d3fd8180f1e98 (diff)
build: fix `make install` when --disable-shared is used
When --disable-shared is used, there are no .so files to install, and the argument order for install would get messed up. Reported-by: Michael Teicher <mteicher@gmail.com> Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'extensions/GNUmakefile.in')
-rw-r--r--extensions/GNUmakefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 8d44e4e1..4a3bf4e4 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -67,7 +67,7 @@ all: ${targets}
install: ${targets_install}
@mkdir -p "${DESTDIR}${xtlibdir}";
- install -pm0755 $^ "${DESTDIR}${xtlibdir}/";
+ if test -n "${targets_install}"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi;
clean:
rm -f *.o *.oo *.so *.a {matches,targets}[46].man initext4.c initext6.c;