libipt: Add libstdthreads dependency on FreeBSD
This lib is part of the FreeBSD base system, but is not included in the stdenv.
This commit is contained in:
parent
488168b7c1
commit
df7a52b48a
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
{ lib, stdenv, fetchFromGitHub, cmake, freebsd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libipt";
|
pname = "libipt";
|
||||||
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = lib.optional stdenv.isFreeBSD freebsd.libstdthreads;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Intel Processor Trace decoder library";
|
description = "Intel Processor Trace decoder library";
|
||||||
|
Loading…
Reference in New Issue
Block a user