From 750e36993fea4bc6fe39e861d7630013e4f210d2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 9 Nov 2017 11:35:46 -0500 Subject: [PATCH] GitHub issue #617 --- make-linux.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index 742f6870c..28719f9df 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