nspr: link libraries with absolute paths on Darwin
This commit is contained in:
parent
4839b568de
commit
2a99b51390
@ -16,6 +16,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd nspr
|
cd nspr
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace configure --replace '@executable_path/' "$out/lib/"
|
||||||
|
substituteInPlace configure.in --replace '@executable_path/' "$out/lib/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user