janus-gateway: fix build

This commit is contained in:
Sergei Zimmerman 2024-10-21 00:49:01 +03:00 committed by Franz Pletz
parent 306aabb533
commit 2af5e7026e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -44,6 +44,9 @@ stdenv.mkDerivation rec {
makeFlags = [
"BORINGSSL_LIBS=-L${lib.getLib boringssl}/lib"
# Linking with CXX because boringssl static libraries depend on C++ stdlib.
# Upstream issue: https://www.github.com/meetecho/janus-gateway/issues/3456
"CCLD=${stdenv.cc.targetPrefix}c++"
];
outputs = [ "out" "dev" "doc" "man" ];