Skip to content

Commit

Permalink
libwebsockets: Change default CMake flags for package
Browse files Browse the repository at this point in the history
The libwebsockets package is now built with support for IPv6 and
SOCKS5 in addition to general plugin support.
  • Loading branch information
leotaku authored and jtojnar committed Jul 8, 2020
1 parent 6dbcca5 commit 137d95c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/development/libraries/libwebsockets/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit 137d95c

Please sign in to comment.