libwebsockets: remove runtime reference to GCC (closure size)
This commit is contained in:
parent
7e2e486bbf
commit
1a40d6e37f
@ -26,6 +26,9 @@ let
|
|||||||
|
|
||||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
|
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=unused-but-set-variable";
|
||||||
|
|
||||||
|
postInstall = "rm -rf ${placeholder "out"}/share/libwebsockets-test-server";
|
||||||
|
disallowedReferences = [ stdenv.cc.cc ]; # $out/share/libwebsockets-test-server/plugins/libprotocol_*.so refers to crtbeginS.o
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Light, portable C library for websockets";
|
description = "Light, portable C library for websockets";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -42,8 +45,7 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in {
|
||||||
rec {
|
|
||||||
libwebsockets_3_1 = generic {
|
libwebsockets_3_1 = generic {
|
||||||
sha256 = "1w1wz6snf3cmcpa3f4dci2nz9za2f5rrylxl109id7bcb36xhbdl";
|
sha256 = "1w1wz6snf3cmcpa3f4dci2nz9za2f5rrylxl109id7bcb36xhbdl";
|
||||||
version = "3.1.0";
|
version = "3.1.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user