summaryrefslogtreecommitdiff
path: root/www/zerowait-httpd/files/patch-src_httpd_Makefile
blob: 027c883505dac6e29d700faf411ccb013d67311a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/httpd/Makefile.orig	2006-09-16 12:17:17 UTC
+++ src/httpd/Makefile
@@ -18,12 +18,10 @@
 	$(CC) $(LDFLAGS) $(OBJS) $(COMMON) built.o -o $@
 
 convert-ranges: $(COMMON) Makefile ../Rules.make convert-ranges.c
-	$(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@
-	chmod +s $@
+	$(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@
 
 convert-geoip: $(COMMON) Makefile ../Rules.make convert-geoip.c
-	$(CC) $(CFLAGS) $(LDFLAGS) $@.c $(COMMON) -o $@
-	chmod +s $@
+	$(CC) $(CFLAGS) -I.. $(LDFLAGS) $@.c $(COMMON) -o $@
 
 $(COMMON):
 	cd ../common &&$(MAKE)
@@ -31,7 +29,6 @@
 install: 0W-httpd
 	mv ../../bin/0W-httpd ../../bin/0W-httpd~
 	cp 0W-httpd ../../bin/0W-httpd
-	chmod +s ../../bin/0W-httpd
 
 clean:
 	rm -f $(BIN) *.o *~