mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
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:
parent
6dbcca5979
commit
137d95c9b2
@ -16,7 +16,12 @@ let
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
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";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user