diff options
| author | Yureka <yuka@yuka.dev> | 2022-11-25 13:54:55 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-11-26 06:21:37 +0000 |
| commit | ff500f63ee198b7203d6841428f6dd2b619ca6f5 (patch) | |
| tree | e465297e3c944a08c5b0bd8e7f8b5d7611f3cafc | |
| parent | libxml2Python: use python3 (diff) | |
| download | nixpkgs-origin/backport-202848-to-release-22.11.tar.gz | |
pkgsMusl.libavc1394: fix buildorigin/backport-202848-to-release-22.11
(cherry picked from commit 54b6a1cd87a434c707604e3225b24f87269cd254)
| -rw-r--r-- | pkgs/development/libraries/libavc1394/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libavc1394/default.nix b/pkgs/development/libraries/libavc1394/default.nix index 2ac90a11f086..4dfc5713af7e 100644 --- a/pkgs/development/libraries/libavc1394/default.nix +++ b/pkgs/development/libraries/libavc1394/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, pkg-config, libraw1394 }: +{ lib, stdenv, fetchurl, pkg-config, libraw1394, argp-standalone }: stdenv.mkDerivation rec { pname = "libavc1394"; @@ -9,9 +9,12 @@ stdenv.mkDerivation rec { sha256 = "0lsv46jdqvdx5hx92v0z2cz3yh6212pz9gk0k3513sbaa04zzcbw"; }; + buildInputs = lib.optional stdenv.hostPlatform.isMusl argp-standalone; nativeBuildInputs = [ pkg-config ]; propagatedBuildInputs = [ libraw1394 ]; + NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-largp"; + meta = { description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set"; homepage = "https://sourceforge.net/projects/libavc1394/"; |
