xvidcore: fix build for FreeBSD
This commit is contained in:
@@ -31,7 +31,12 @@ stdenv.mkDerivation rec {
|
||||
[ ]
|
||||
# Undocumented darwin hack (assembly is probably disabled due to an
|
||||
# issue with nasm, however yasm is now used)
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin "--enable-macosx_module --disable-assembly";
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
"--enable-macosx_module"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isFreeBSD) [
|
||||
"--disable-assembly"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ ] ++ lib.optional (!stdenv.hostPlatform.isDarwin) yasm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user