From b439bd7791d3524febe1db430fb5186be0c2877e Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 12 Feb 2016 15:29:49 +0100 Subject: [PATCH] check uuid-dev / libuuid --- miniupnpd/Makefile.linux | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/miniupnpd/Makefile.linux b/miniupnpd/Makefile.linux index a8e439d..ce6b994 100644 --- a/miniupnpd/Makefile.linux +++ b/miniupnpd/Makefile.linux @@ -1,4 +1,4 @@ -# $Id: Makefile.linux,v 1.86 2014/04/09 07:22:28 nanard Exp $ +# $Id: Makefile.linux,v 1.93 2016/02/12 14:28:01 nanard Exp $ # MiniUPnP project # (c) 2006-2015 Thomas Bernard # http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ @@ -148,7 +148,13 @@ LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libnetfilter_conntrack) endif # ($(TEST),1) LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libssl) + +TEST := $(shell $(PKG_CONFIG) --exists uuid && echo 1) +ifeq ($(TEST),1) LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l uuid) +else +$(info please install uuid-dev package / libuuid) +endif # ($(TEST),1) TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o