Commit 137d95c9 authored by Leo Gaskin's avatar Leo Gaskin Committed by Jan Tojnar
Browse files

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.
parent 6dbcca59
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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; {