0dfbc21b9665b88599b37f3d6a1c55b72857c5bb
[openwrt/svn-archive/archive.git] / net / miniupnpd / patches / 001-makefile-tweaks.patch
1 --- miniupnpd/Makefile.openwrt.orig 2006-11-26 16:44:21.000000000 -0600
2 +++ miniupnpd/Makefile.openwrt 2006-11-28 19:48:06.000000000 -0600
3 @@ -11,7 +11,7 @@
4 CFLAGS += -D_GNU_SOURCE
5 RM = rm -f
6 INSTALL = install
7 -IPTABLESINC=$(BUILD_DIR)/iptables-1.3.3/include
8 +IPTABLESINC=$(STAGING_DIR)/usr/include
9
10 BASEOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \
11 upnpreplyparse.o minixml.o \
12 @@ -19,7 +19,7 @@
13
14 LNXOBJS = linux/getifstats.o linux/iptcrdr.o
15
16 -LIBS = $(BUILD_DIR)/iptables-1.3.3/libiptc/libiptc.a
17 +LIBS = $(STAGING_DIR)/usr/lib/libiptc.a
18
19 TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o
20
21 @@ -36,6 +36,7 @@
22 @echo no install for now...
23
24 miniupnpd: $(BASEOBJS) $(LNXOBJS) $(LIBS)
25 + $(CC) $(CFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
26
27 testupnpdescgen: $(TESTUPNPDESCGENOBJS)
28