tsocks: fix LD_PRELOAD references
This commit is contained in:
parent
57eb7f107d
commit
5074a95c54
@ -2,14 +2,16 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tsocks-${version}";
|
||||
version = "1.8beta5";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tsocks/${name}.tar.gz";
|
||||
sha256 = "0ixkymiph771dcdzvssi9dr2pk1bzaw9zv85riv3xl40mzspx7c4";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
||||
sed -i -e "s,\\\/usr,"$(echo $out|sed -e "s,\\/,\\\\\\\/,g")",g" tsocks
|
||||
substituteInPlace tsocks --replace /usr $out
|
||||
export configureFlags="$configureFlags --libdir=$out/lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
x
Reference in New Issue
Block a user