From 5ebc1680062f6e6fc6352c4c8ccb1f746f6a280e Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Fri, 8 Jun 2012 16:36:40 +0000 Subject: Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too --- src/makefile.mingw | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/makefile.mingw') diff --git a/src/makefile.mingw b/src/makefile.mingw index 5e9a4427f1..75d3992f8a 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -49,7 +49,10 @@ HEADERS = \ util.h \ wallet.h -ifdef USE_UPNP +ifndef USE_UPNP + override USE_UPNP = - +endif +ifneq (${USE_UPNP}, -) INCLUDEPATHS += -I"C:\miniupnpc-1.6-mgw" LIBPATHS += -L"C:\miniupnpc-1.6-mgw" LIBS += -l miniupnpc -l iphlpapi -- cgit v1.2.3