about summary refs log tree commit diff
path: root/pkgs/development/libraries/l-smash
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-17 22:01:05 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-05-17 14:02:41 -0700
commit1d5d237cf923579f55ba79adfc048c4e04494821 (patch)
treea0228421445777cec68a1ab6bedc5b6eb992242f /pkgs/development/libraries/l-smash
parent546e892ebc9b321afc0ca8ffd2ba33eeadd3ee53 (diff)
l-smash: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/l-smash')
-rw-r--r--pkgs/development/libraries/l-smash/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/l-smash/default.nix b/pkgs/development/libraries/l-smash/default.nix
index b1b5fd0120628..40eb4bd10d36e 100644
--- a/pkgs/development/libraries/l-smash/default.nix
+++ b/pkgs/development/libraries/l-smash/default.nix
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ which ];
 
+  configureFlags = [
+    "--cc=cc"
+    "--cross-prefix=${stdenv.cc.targetPrefix}"
+  ];
+
   meta = with lib; {
     homepage = "http://l-smash.github.io/l-smash/";
     description = "MP4 container utilities";