parent
efe0307291
commit
58e32427d8
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib, stdenv, fetchurl, fixDarwinDylibNames }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libnatpmp";
|
pname = "libnatpmp";
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||||
"CC:=$(CC)"
|
"CC:=$(CC)"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
chmod +x $out/lib/*
|
chmod +x $out/lib/*
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue