* add global switch USE_UPNP to makefile

This commit is contained in:
hagen 2016-06-27 13:00:00 +00:00
parent 646778227a
commit b668c4c302
5 changed files with 6 additions and 5 deletions

View file

@ -43,7 +43,7 @@ else
endif
# UPNP Support (miniupnpc 1.5 or 1.6)
ifeq ($(USE_UPNP),1)
ifeq ($(USE_UPNP),yes)
LDFLAGS += -lminiupnpc
CXXFLAGS += -DUSE_UPNP
endif