File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -642,6 +642,8 @@ def use_interpreter_for_simple_runs():
642642
643643target_specific_module_triple = config .variant_triple
644644
645+ config .target_run = ""
646+
645647if run_vendor == 'apple' :
646648 target_specific_module_triple = '{}-apple-{}' .format (
647649 { 'aarch64' : 'arm64' , 'amd64' : 'x86_64' }.get (run_cpu , run_cpu ),
@@ -1356,7 +1358,8 @@ if not kIsWindows:
13561358"/usr/bin/env "
13571359"DYLD_LIBRARY_PATH='{0}' " # Apple option
13581360"LD_LIBRARY_PATH='{0}' " # Linux option
1359- .format (target_stdlib_path ))
1361+ "SIMCTL_CHILD_DYLD_LIBRARY_PATH='{0}' " # Simulator option
1362+ .format (target_stdlib_path )) + config .target_run
13601363else :
13611364os_stdlib_path = ''
13621365if run_vendor == 'apple' :
@@ -1368,7 +1371,8 @@ if not kIsWindows:
13681371"/usr/bin/env "
13691372"DYLD_LIBRARY_PATH='{0}' " # Apple option
13701373"LD_LIBRARY_PATH='{0}' " # Linux option
1371- .format (all_stdlib_path ))
1374+ "SIMCTL_CHILD_DYLD_LIBRARY_PATH='{0}' " # Simulator option
1375+ .format (all_stdlib_path )) + config .target_run
13721376
13731377#
13741378# When changing substitutions, update docs/Testing.rst.
You can’t perform that action at this time.
0 commit comments