Skip to content

Commit 7f1e4c5

Browse files
authored
Take two at fixing WASI config.site usage (#606)
1 parent 676f2e3 commit 7f1e4c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

master/custom/factories.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,10 @@ def setup(self, parallel, branch, test_with_PTY=False, **kwargs):
893893
warnOnFailure=True,
894894
)
895895
)
896-
self.host_configure_cmd.append(util.Interpolate("CONFIG_SITE=%(prop:config_site)s"))
896+
self.compile_environ = super().compile_environ.copy()
897+
self.compile_environ.update(
898+
CONFIG_SITE=util.Interpolate("../../%(prop:config_site)s")
899+
)
897900
self.addStep(
898901
ShellCommand(
899902
name="Touch srcdir Modules/Setup.local",

0 commit comments

Comments
 (0)