From fbf72b2795389f49407cc6c58e6ac2dc396b938e Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 17 Jun 2021 09:42:31 +0200 Subject: [PATCH] mplayer: fix build with `x264Support = true;` --- pkgs/applications/video/mplayer/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index bdcd3fbc8fd3..1e439f57ef7b 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -205,6 +205,7 @@ stdenv.mkDerivation rec { optional fontconfigSupport "-lfontconfig" ++ optional fribidiSupport "-lfribidi" ++ optionals x11Support [ "-lX11" "-lXext" ] + ++ optional x264Support "-lx264" ++ [ "-lfreetype" ] );