libwebsockets: Change default CMake flags for package

The libwebsockets package is now built with support for IPv6 and
SOCKS5 in addition to general plugin support.
This commit is contained in:
Leo Gaskin 2020-07-07 00:59:24 +02:00 committed by Jan Tojnar
parent 6dbcca5979
commit 137d95c9b2

View File

@ -16,7 +16,12 @@ let
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DLWS_WITH_PLUGINS=ON" ];
cmakeFlags = [
"-DLWS_WITH_PLUGINS=ON"
"-DLWS_WITH_IPV6=ON"
"-DLWS_WITH_SOCKS5=ON"
];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
meta = with stdenv.lib; {