iniparser: fix darwin build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-19 22:57:31 +01:00
parent e616725ba0
commit 5873a3418b
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
patches = ./no-usr.patch;
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile \
--replace -Wl,-soname= -Wl,-install_name,
'';
doCheck = true;
preCheck = "patchShebangs test/make-tests.sh";