Fix the libwrap dependency for srelay (#2175)
[openwrt/svn-archive/archive.git] / net / srelay / patches / 001-cross_compile.patch
1 diff -urN srelay-0.4.6/configure srelay-0.4.6.new/configure
2 --- srelay-0.4.6/configure 2003-04-14 07:36:15.000000000 +0200
3 +++ srelay-0.4.6.new/configure 2006-03-28 15:11:42.000000000 +0200
4 @@ -1394,8 +1394,8 @@
5
6 ;;
7 linux*)
8 - case "$build_cpu" in
9 - i*86)
10 + case "$host_cpu" in
11 + i*86|mips*|powerpc*|sparc*)
12 OS=LINUX
13 cat >>confdefs.h <<\_ACEOF
14 #define LINUX 1