commit 58c51c1e2aa00e8f844ab10fa00a8121408401e7
parent a5c153d7d36907a396282927afbfdc62d6c8ca07
Author: Karl Palsson <karlp@remake.is>
Date: Mon, 25 Jan 2016 13:33:21 +0000
libwebsockets: Correctly enable IPv6 support
Signed-off-by: Karl Palsson <karlp@remake.is>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libs/libwebsockets/Makefile b/libs/libwebsockets/Makefile
@@ -27,8 +27,7 @@ CMAKE_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
-CMAKE_OPTIONS += $(if $(CONFIG_IPV6),,-DLWS_IPV6=)
-
+CMAKE_OPTIONS += -DLWS_IPV6=$(if $(CONFIG_IPV6),ON,OFF)
CMAKE_OPTIONS += -DLWS_WITHOUT_TESTAPPS=ON
# other options worth noting