Add support for miniupnpd and cjdns
[librecmc/package-feed.git] / net / miniupnpd / patches / 101-no-ssl-uuid.patch
1 We do not need to autodetect SSL/UUID; SSL we do not support, UUID we always do.
2
3 --- a/Makefile.linux
4 +++ b/Makefile.linux
5 @@ -153,14 +153,18 @@ LDLIBS += $(shell $(PKG_CONFIG) --static
6  LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libnetfilter_conntrack)
7  endif # ($(TEST),1)
8  
9 +ifeq ($(TARGET_OPENWRT),)
10 +# n/a - we don't enable https server for IGD v2 anyway in OpenWrt
11  LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libssl)
12  
13 +# n/a - we hardcodedly support libuuid
14  TEST := $(shell $(PKG_CONFIG) --exists uuid && echo 1)
15  ifeq ($(TEST),1)
16  LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l uuid)
17  else
18  $(info please install uuid-dev package / libuuid)
19  endif # ($(TEST),1)
20 +endif
21  
22  TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o
23