Skip to content

Commit 4929e7d

Browse files
committed
add core library paths to relaunch args
1 parent e4ac6cd commit 4929e7d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,10 @@ protected List<String> preprocessArguments(List<String> givenArgs, Map<String, S
227227
arguments.add(i + 1 + j, "-" + optionChar);
228228
}
229229
} else {
230-
if (arg.startsWith("--llvm.")) {
230+
if (arg.startsWith("--llvm.") ||
231+
arg.startsWith("--python.CoreHome") ||
232+
arg.startsWith("--python.StdLibHome") ||
233+
arg.startsWith("--python.CAPI")) {
231234
addRelaunchArg(arg);
232235
}
233236
// possibly a polyglot argument

0 commit comments

Comments
 (0)