ports/www/iridium/files/patch-v8_tools_run.py
2024-11-05 07:31:43 +01:00

11 lines
412 B
Python

--- v8/tools/run.py.orig 2024-11-04 08:56:03 UTC
+++ v8/tools/run.py
@@ -21,7 +21,7 @@ if cmd and cmd[0] == '--redirect-stdout':
kwargs = dict(stdout=subprocess.PIPE)
cmd = cmd[2:]
-process = subprocess.Popen(cmd, **kwargs)
+process = subprocess.Popen(cmd, env={"LD_LIBRARY_PATH":"${WRKSRC}/out/Release"}, **kwargs)
stdout, _ = process.communicate()
if stdout_file:
with stdout_file.open('w') as f: