xfsprogs: Actually fix library rpath

This commit is contained in:
William A. Kennington III 2014-09-19 16:14:50 -07:00
parent 9d1acf8559
commit acaf6b4334

View File

@ -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; {