]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions: added AR substitution
authorJordan Yelloz <jordan@yelloz.me>
Fri, 24 Jun 2016 19:18:45 +0000 (12:18 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Jul 2016 14:30:53 +0000 (16:30 +0200)
This is to ensure that the correct AR is run in cross-compile jobs.
Often a cross-compile build will succeed without this change but it
fails on my Gentoo Linux system when I have binutils installed with the
"multitarget" USE flag.
This change substitues AR with the autotools-supplied AR for the
extensions subdirectory.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/GNUmakefile.in

index 53be2cdd0ebda160ef820cf09cfe137be5e82e81..33b06efd15c2304765ec25fc120a086284fc08c1 100644 (file)
@@ -11,6 +11,7 @@ libdir       = @libdir@
 libexecdir   = @libexecdir@
 xtlibdir     = @xtlibdir@
 
+AR                 = @AR@
 CC                 = @CC@
 CCLD               = ${CC}
 CFLAGS             = @CFLAGS@