net/quagga-unstable: fix a cross-compile issue. this need to go upstream. (thank...
[openwrt/svn-archive/archive.git] / net / quagga-unstable / patches / 010-fix_cpp.patch
1 --- a/vtysh/extract.pl.in
2 +++ b/vtysh/extract.pl.in
3 @@ -62,7 +62,7 @@ $ignore{'"show history"'} = "ignore";
4 foreach (@ARGV) {
5 $file = $_;
6
7 - open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ $file |");
8 + open (FH, "@CPP@ @CPPFLAGS@ -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ $file |");
9 local $/; undef $/;
10 $line = <FH>;
11 close (FH);