Merge pull request #307834 from NickCao/live555

live555: fix cross compilation
This commit is contained in:
Nick Cao 2024-04-30 16:14:32 -04:00 committed by GitHub
commit e0df48703b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,8 +78,15 @@ stdenv.mkDerivation (finalAttrs: {
makeFlags = [
"PREFIX=${placeholder "out"}"
"C_COMPILER=$(CC)"
"CPLUSPLUS_COMPILER=$(CXX)"
"LIBRARY_LINK=$(AR) cr "
"LINK=$(CXX) -o "
];
# required for whitespaces in makeFlags
__structuredAttrs = true;
enableParallelBuilding = true;
passthru.tests = {