03a49662a05c0acf95814f8421c64ca73620e892
[feed/routing.git] / 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 diff --git a/miniupnpd/Makefile.linux b/miniupnpd/Makefile.linux
4 index 2d28126..01daeea 100644
5 --- a/Makefile.linux
6 +++ b/Makefile.linux
7 @@ -153,14 +153,18 @@ LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libmnl)
8 LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libnetfilter_conntrack)
9 endif # ($(TEST),1)
10
11 +ifeq ($(TARGET_OPENWRT),)
12 +# n/a - we don't enable https server for IGD v2 anyway in OpenWrt
13 LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l libssl)
14
15 +# n/a - we hardcodedly support libuuid
16 TEST := $(shell $(PKG_CONFIG) --exists uuid && echo 1)
17 ifeq ($(TEST),1)
18 LDLIBS += $(shell $(PKG_CONFIG) --static --libs-only-l uuid)
19 else
20 $(info please install uuid-dev package / libuuid)
21 endif # ($(TEST),1)
22 +endif
23
24 TESTUPNPDESCGENOBJS = testupnpdescgen.o upnpdescgen.o
25