Bugfix: Make USE_UPNP=- work with makefile.{linux-mingw,mingw,osx} too
This commit is contained in:
@@ -97,7 +97,10 @@ OBJS= \
|
||||
obj/walletdb.o \
|
||||
obj/noui.o
|
||||
|
||||
ifdef USE_UPNP
|
||||
ifndef USE_UPNP
|
||||
override USE_UPNP = -
|
||||
endif
|
||||
ifneq (${USE_UPNP}, -)
|
||||
DEFS += -DUSE_UPNP=$(USE_UPNP)
|
||||
ifdef STATIC
|
||||
LIBS += $(DEPSDIR)/lib/libminiupnpc.a
|
||||
|
||||
Reference in New Issue
Block a user