aboutsummaryrefslogtreecommitdiff
path: root/www/deno/files/patch-cargo-crates_rusty__v8_build_gn__run__binary.py
blob: 20b1caaf980b59cceb8bc50bed4d28f384493d30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- cargo-crates/rusty_v8-0.21.0/build/gn_run_binary.py.orig	2020-06-26 16:27:54 UTC
+++ cargo-crates/rusty_v8-0.21.0/build/gn_run_binary.py
@@ -24,7 +24,7 @@ if not os.path.isabs(path):
 # The rest of the arguments are passed directly to the executable.
 args = [path] + sys.argv[2:]
 
-ret = subprocess.call(args)
+ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"})
 if ret != 0:
   if ret <= -100:
     # Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to