packages/net/miniupnpd/patches/001-makefile-tweaks.patch
pavlov 0a265811e3 update based on db90h's changes to the whiterussian package. note: this still needs to be converted to uci for kamikaze, so WiP.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-29 02:02:11 +00:00

29 lines
822 B
Diff

--- miniupnpd/Makefile.openwrt.orig 2006-11-26 16:44:21.000000000 -0600
+++ miniupnpd/Makefile.openwrt 2006-11-28 19:48:06.000000000 -0600
@@ -11,7 +11,7 @@
CFLAGS += -D_GNU_SOURCE
RM = rm -f
INSTALL = install
-IPTABLESINC=$(BUILD_DIR)/iptables-1.3.3/include
+IPTABLESINC=$(STAGING_DIR)/usr/include
BASEOBJS = miniupnpd.o upnphttp.o upnpdescgen.o upnpsoap.o \
upnpreplyparse.o minixml.o \
@@ -19,7 +19,7 @@
LNXOBJS = linux/getifstats.o linux/iptcrdr.o
-LIBS = $(BUILD_DIR)/iptables-1.3.3/libiptc/libiptc.a
+LIBS = $(STAGING_DIR)/usr/lib/libiptc.a
TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o
@@ -36,6 +36,7 @@
@echo no install for now...
miniupnpd: $(BASEOBJS) $(LNXOBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
testupnpdescgen: $(TESTUPNPDESCGENOBJS)