live555: fix cross compilation

This commit is contained in:
Nick Cao 2024-04-29 16:36:21 -04:00
parent adc9566b32
commit 8f362df896
No known key found for this signature in database

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 = {