Merge pull request #130482 from Mindavi/rtmpdump/cross

rtmpdump: support cross-compilation
This commit is contained in:
Sandro 2021-07-20 12:03:59 +02:00 committed by GitHub
commit 9f1774c721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,10 @@ stdenv.mkDerivation {
})
];
makeFlags = [ "prefix=$(out)" ]
makeFlags = [
"prefix=$(out)"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
]
++ optional gnutlsSupport "CRYPTO=GNUTLS"
++ optional opensslSupport "CRYPTO=OPENSSL"
++ optional stdenv.isDarwin "SYS=darwin"