nspr: link libraries with absolute paths on Darwin
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user