diff options
Diffstat (limited to 'src/makefile.mingw')
-rw-r--r-- | src/makefile.mingw | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw index 7496e0a929..1d027fa9e4 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -28,7 +28,10 @@ DEBUGFLAGS=-g CFLAGS=-mthreads -O2 -w -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) -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 |