coprthr: ensure we use the right perl
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
ba085ee318
commit
3b873648b3
@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs =
|
buildInputs =
|
||||||
[ libelf libconfig libevent which unzip perl python bison flex ];
|
[ libelf libconfig libevent which unzip perl python bison flex ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
for x in src/libocl/gen_oclcall_hook.pl tools/cltrace/gen_interceptor.pl src/libocl/gen_oclcall.pl src/scripts/gen_ocl_call_vector.pl src/libstdcl/gen_clarg_setn.pl; do
|
||||||
|
substituteInPlace $x --replace "/usr/bin/perl" ${perl}/bin/perl
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-libelf=${libelf}"
|
[ "--with-libelf=${libelf}"
|
||||||
"--with-libevent=${libevent}"
|
"--with-libevent=${libevent}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user