check uuid-dev / libuuid

This commit is contained in:
Thomas Bernard 2016-02-12 15:29:49 +01:00
parent d6f3a6e1ac
commit b439bd7791
1 changed files with 7 additions and 1 deletions

View File

@ -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