101-no-ssl-uuid.patch 770 B

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