From 619de19f69ac9793b0c48ee35dfcb2fb9e0e848f Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 12 Mar 2017 16:53:14 -0300 Subject: [PATCH] change build options for libwebsockets --- thirdparty/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/thirdparty/Makefile.inc b/thirdparty/Makefile.inc index 2eb4d68cc..4d09d980a 100644 --- a/thirdparty/Makefile.inc +++ b/thirdparty/Makefile.inc @@ -14,7 +14,7 @@ $(DEPS_AUTOCONF): | $(BUILDDIR)/thirdparty/$$@/ $(DEPS_CMAKE): | $(BUILDDIR)/thirdparty/$$@/ cmake -DCMAKE_INSTALL_PREFIX:PATH=$(PREFIX) \ -H$(SRCDIR)/thirdparty/$@ \ - -B$(BUILDDIR)/thirdparty/$@ + -B$(BUILDDIR)/thirdparty/$@ $(CMAKE_OPTS) make -C$(BUILDDIR)/thirdparty/$@ $(addprefix install-,$(DEPS)): install-%: % @@ -35,4 +35,6 @@ libconfig: | libconfig-fix libconfig-fix: rm -f $(SRCDIR)/thirdparty/libconfig/lib/scanner.[hc] +libwebsockets: CMAKE_OPTS = -DLWS_IPV6=1 -DLWS_WITH_STATIC=0 -DLWS_WITHOUT_TESTAPPS=1 -DLWS_WITH_HTTP2=1 + .PHONY: $(DEPS) thirdparty clean-thirdparty install-thirdparty \ No newline at end of file