let ipkg fail when a package file to be installed is not found
[openwrt.git] / openwrt / package / maradns / patches / cross-compile-fix.patch
1 diff -urN maradns-1.0.26.old/rng/Makefile maradns-1.0.26.dev/rng/Makefile
2 --- maradns-1.0.26.old/rng/Makefile     2003-08-02 21:39:36.000000000 +0200
3 +++ maradns-1.0.26.dev/rng/Makefile     2005-04-30 23:29:30.000000000 +0200
4 @@ -20,7 +20,7 @@
5         $(CC) -c $(FLAGS) -o rng-api-fst.o rng-api-fst.c
6  
7  make_32bit_tables: make_32bit_tables.c
8 -       $(CC) -o make_32bit_tables make_32bit_tables.c
9 +       $(HOSTCC) -o make_32bit_tables make_32bit_tables.c
10  
11  rng-32bit-tables.h: make_32bit_tables
12         ./make_32bit_tables > rng-32bit-tables.h