forked from mirrors/nixpkgs
Fix w3m configure problem on non-chroot build env.
The configure script picks up libbsd.so from the host machine. It uses simple find command to locate the file, but the linker can not use it. The fix replace the search path to /no-such-path
This commit is contained in:
parent
5300731177
commit
ed8c4b0585
|
@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||||
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}";
|
configureFlags = "--with-ssl=${openssl} --with-gc=${boehmgc}";
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
substituteInPlace ./configure --replace "/lib /usr/lib /usr/local/lib /usr/ucblib /usr/ccslib /usr/ccs/lib /lib64 /usr/lib64" /no-such-path
|
||||||
substituteInPlace ./configure --replace /usr /no-such-path
|
substituteInPlace ./configure --replace /usr /no-such-path
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue