From e145621e88ef65d2c1f34f9225c4c0cb7e52516d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 12 Jun 2008 12:10:47 +0200 Subject: 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 Signed-off-by: Jan Engelhardt Signed-off-by: Patrick McHardy --- extensions/GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions') 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; -- cgit v1.2.3