summaryrefslogtreecommitdiff
path: root/make-linux.mk
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-09 11:35:46 -0500
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-11-09 11:35:46 -0500
commit750e36993fea4bc6fe39e861d7630013e4f210d2 (patch)
tree2a6338c181345af38b5a3fdae58d45a9cd7e1676 /make-linux.mk
parentf7f658605dfc255c5bad88ed190f7b00b0dd81a2 (diff)
downloadinfinitytier-750e36993fea4bc6fe39e861d7630013e4f210d2.tar.gz
infinitytier-750e36993fea4bc6fe39e861d7630013e4f210d2.zip
GitHub issue #617
Diffstat (limited to 'make-linux.mk')
-rw-r--r--make-linux.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 742f6870..28719f9d 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -19,7 +19,8 @@ ONE_OBJS+=osdep/LinuxEthernetTap.o
# otherwise build into binary as done on Mac and Windows.
ONE_OBJS+=osdep/PortMapper.o
override DEFS+=-DZT_USE_MINIUPNPC
-MINIUPNPC_IS_NEW_ENOUGH=$(shell grep -sqr '.*define.*MINIUPNPC_VERSION.*"2.."' /usr/include/miniupnpc/miniupnpc.h && echo 1)
+MINIUPNPC_IS_NEW_ENOUGH=$(shell grep -sqr '.*define.*MINIUPNPC_VERSION.*"2..*"' /usr/include/miniupnpc/miniupnpc.h && echo 1)
+#MINIUPNPC_IS_NEW_ENOUGH=$(shell grep -sqr '.*define.*MINIUPNPC_VERSION.*"2.."' /usr/include/miniupnpc/miniupnpc.h && echo 1)
ifeq ($(MINIUPNPC_IS_NEW_ENOUGH),1)
override DEFS+=-DZT_USE_SYSTEM_MINIUPNPC
LDLIBS+=-lminiupnpc