Unverified Commit 0be5a16b authored by Alex James's avatar Alex James Committed by GitHub
Browse files

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`.
parent c54273a4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -18,7 +18,11 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
  cmakeFlags = [
    "-DBUILD_SHARED_LIBS=ON"
  ] ++ lib.optionals stdenv.isDarwin [
    "-DCMAKE_OSX_ARCHITECTURES="
  ];

  installPhase = ''
    runHook preInstall