nspr: link libraries with absolute paths on Darwin

This commit is contained in:
Väinö Järvelä 2018-02-20 12:11:05 +02:00
parent 4839b568de
commit 2a99b51390

View File

@ -16,6 +16,9 @@ stdenv.mkDerivation {
preConfigure = ''
cd nspr
'' + stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure --replace '@executable_path/' "$out/lib/"
substituteInPlace configure.in --replace '@executable_path/' "$out/lib/"
'';
configureFlags = [