From: Rusty Russell Date: Mon, 8 Jan 2001 08:14:33 +0000 (+0000) Subject: Fix Makefile (ldd -v doesn't work on my ldd). X-Git-Tag: v1.2.1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=209820b1ea6b13c7f5dd65eb1f1737ff1945eee4;p=thirdparty%2Fiptables.git Fix Makefile (ldd -v doesn't work on my ldd). --- diff --git a/Makefile b/Makefile index 19b5c541..6d73c1b4 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ BINDIR:=/usr/local/sbin MANDIR:=/usr/local/man INCDIR:=/usr/local/include -# Need libc6 for this. Should covert to autoconf. -ifneq ($(shell ldd -v | fgrep 2.2),) +# Need libc6 for this. FIXME: Should covert to autoconf. +ifneq ($(shell ldd --version 2>/dev/null | fgrep 2.2),) DO_IPV6=1 endif