Unverified Commit f919f297 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #314793 from NixOS/backport-314361-to-release-24.05

[Backport release-24.05] bento4: fix build on darwin
parents 929d8b66 1b7457ee
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