From: Jan Engelhardt Date: Thu, 12 Jun 2008 10:10:47 +0000 (+0200) Subject: build: fix `make install` when --disable-shared is used X-Git-Tag: v1.4.1.1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e145621e88ef65d2c1f34f9225c4c0cb7e52516d;p=thirdparty%2Fiptables.git 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 --- 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;