Skip to content

Commit 0be5a16

Browse files
authored
bento4: fix build on darwin (#314361)
CMakeLists.txt in v1.6.0-641 set `CMAKE_OSX_ARCHITECTURES`, which broke evaluation on Darwin. Fix it by unsetting `CMAKE_OSX_ARCHITECTURES`.
1 parent c54273a commit 0be5a16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkgs/tools/video/bento4/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
1818

1919
nativeBuildInputs = [ cmake ];
2020

21-
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
21+
cmakeFlags = [
22+
"-DBUILD_SHARED_LIBS=ON"
23+
] ++ lib.optionals stdenv.isDarwin [
24+
"-DCMAKE_OSX_ARCHITECTURES="
25+
];
2226

2327
installPhase = ''
2428
runHook preInstall

0 commit comments

Comments
 (0)