fix hostapd (add missed changes from [3564])
[openwrt.git] / package / elhttp / patches / 01-cross-compile.patch
1 --- elhttp-0.22.orig/Makefile 2004-06-18 15:32:17.000000000 +0200
2 +++ elhttp-0.22/Makefile 2006-02-13 23:11:35.000000000 +0100
3 @@ -1,13 +1,7 @@
4 -
5 +all: linux
6 linux:
7 - gcc -O -W -Wall -o elhttp elhttp.c
8 - strip elhttp
9 -
10 -sunos:
11 - gcc -O -W -Wall -o elhttp elhttp.c -lsocket -lnsl
12 - strip elhttp
13 -
14 -unix:
15 - cc -O -o elhttp elhttp.c
16 - strip elhttp
17 + $(CC) -O -W -Wall -o elhttp elhttp.c
18
19 +install:
20 + install -d -m0755 $(DESTDIR)/usr/sbin
21 + install -m0755 elhttp $(DESTDIR)/usr/sbin/
This page took 0.047495 seconds and 5 git commands to generate.