libavc1394: move NIX_LDFLAGS into env for structuredAttrs (#486093)
This commit is contained in:
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
propagatedBuildInputs = [ libraw1394 ];
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-largp";
|
||||
env = lib.optionalAttrs stdenv.hostPlatform.isMusl {
|
||||
NIX_LDFLAGS = "-largp";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Programming interface for the 1394 Trade Association AV/C (Audio/Video Control) Digital Interface Command Set";
|
||||
|
||||
Reference in New Issue
Block a user