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 22dc4801c1..0bde965e1a 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -30,7 +30,10 @@ CFLAGS=-mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-par TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) -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 |