mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
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 {
|
||||
pname = "libdeflate";
|
||||
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile --replace /usr/local $out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
|
||||
configurePhase = ''
|
||||
make programs/config.h
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user