forked from mirrors/nixpkgs
pkgsMusl.libavc1394: fix build (#202848)
This commit is contained in:
parent
fd538cf515
commit
6b86759692
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue