unbound: also replace -R in libunbound.la
This was increasing closure sizes as well.
This commit is contained in:
parent
f523dc9025
commit
e93a8cba4a
|
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||||
# get rid of runtime dependencies on $dev outputs
|
# get rid of runtime dependencies on $dev outputs
|
||||||
+ ''substituteInPlace "$lib/lib/libunbound.la" ''
|
+ ''substituteInPlace "$lib/lib/libunbound.la" ''
|
||||||
+ stdenv.lib.concatMapStrings
|
+ stdenv.lib.concatMapStrings
|
||||||
(pkg: " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' ")
|
(pkg: " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' --replace '-R${pkg.dev}/lib' '-R${pkg.out}/lib'")
|
||||||
buildInputs;
|
buildInputs;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue