[packages] libnatpmp: update to 20110715, refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@27692 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker
2011-07-19 14:42:00 +00:00
parent c31a9eb191
commit 10c5fb2d8c
2 changed files with 6 additions and 13 deletions

View File

@ -1,17 +1,9 @@
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,15 @@
# (c) 2007-2011 Thomas Bernard
# http://miniupnp.free.fr/libnatpmp.html
-OS = $(shell uname -s)
+OS = Linux
CC = gcc
INSTALL = install
@@ -11,7 +11,8 @@ INSTALL = install
# APIVERSION is used in soname
APIVERSION = 1
LDFLAGS = -Wl,--no-undefined
#LDFLAGS = -Wl,--no-undefined
-CFLAGS = -O -fPIC -Wall -DENABLE_STRNATPMPERR
+COPTS = -O
+CFLAGS = $(COPTS) -fPIC -Wall -DENABLE_STRNATPMPERR