Merge commit 'a259baa' into 0.6.0.x

This commit is contained in:
Luke Dashjr
2012-08-26 22:15:56 +00:00
5 changed files with 18 additions and 9 deletions

View File

@@ -31,7 +31,10 @@ DEBUGFLAGS=-g
CFLAGS=-O2 -w -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
ifdef USE_UPNP
ifndef USE_UPNP
override USE_UPNP = -
endif
ifneq (${USE_UPNP}, -)
LIBPATHS += -L"$(DEPSDIR)/miniupnpc"
LIBS += -l miniupnpc -l iphlpapi
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)