mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
miniupnpc: use cmake for build
this fixes strange linking issues on darwin when any attempt to link with libminiupnpc ends with "Killed: 9"
This commit is contained in:
parent
0dc7388a00
commit
dade32b409
@ -1,8 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, which
|
||||
, cctools
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -14,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0jrc84lkc7xb53rb8dbswxrxj21ndj1iiclmk3r9wkp6xm55w6j8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [ which cctools ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = lib.optional stdenv.isFreeBSD ./freebsd.patch;
|
||||
|
||||
|
@ -9318,9 +9318,7 @@ with pkgs;
|
||||
|
||||
minissdpd = callPackage ../tools/networking/minissdpd { };
|
||||
|
||||
miniupnpc = callPackage ../tools/networking/miniupnpc {
|
||||
inherit (darwin) cctools;
|
||||
};
|
||||
miniupnpc = callPackage ../tools/networking/miniupnpc { };
|
||||
|
||||
miniupnpd = callPackage ../tools/networking/miniupnpd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user