libdeflate: fix dylib install name
This commit is contained in:
parent
974e83db9a
commit
6ea779b95c
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, lib, fetchFromGitHub }:
|
{ stdenv, lib, fetchFromGitHub, fixDarwinDylibNames }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libdeflate";
|
pname = "libdeflate";
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace Makefile --replace /usr/local $out
|
substituteInPlace Makefile --replace /usr/local $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
make programs/config.h
|
make programs/config.h
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue