link UPnP with app if USE_UPNP is set

This commit is contained in:
orignal 2016-06-24 13:15:51 -04:00
parent 0f68bbac8e
commit fedbf2cc44
4 changed files with 15 additions and 79 deletions

View file

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