giflib: fix dylib names on Darwin

This commit is contained in:
Mario Rodas 2019-11-29 04:20:00 -05:00
parent 039a5bd71b
commit a03e68d593
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2 }:
{ stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412, docbook_xsl, libxml2, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
name = "giflib-5.2.1";
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
--replace 'PREFIX = /usr/local' 'PREFIX = ${builtins.placeholder "out"}'
'';
nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
meta = {