Merge pull request #130482 from Mindavi/rtmpdump/cross
rtmpdump: support cross-compilation
This commit is contained in:
commit
9f1774c721
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue