xfsprogs: Actually fix library rpath
This commit is contained in:
parent
9d1acf8559
commit
acaf6b4334
@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "lib" ];
|
||||
|
||||
preConfigure = ''
|
||||
NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"MAKE=make"
|
||||
"MSGFMT=msgfmt"
|
||||
@ -42,11 +46,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installFlags = [ "install-dev" ];
|
||||
|
||||
postInstall = ''
|
||||
# Emitted libraries have references to $out, fix this
|
||||
sed -i "s,$out,$lib,g" $lib/lib/*
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user