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():
642
642
643
643
target_specific_module_triple = config .variant_triple
644
644
645
+ config .target_run = ""
646
+
645
647
if run_vendor == 'apple' :
646
648
target_specific_module_triple = '{}-apple-{}' .format (
647
649
{ 'aarch64' : 'arm64' , 'amd64' : 'x86_64' }.get (run_cpu , run_cpu ),
@@ -1356,7 +1358,8 @@ if not kIsWindows:
1356
1358
"/usr/bin/env "
1357
1359
"DYLD_LIBRARY_PATH='{0}' " # Apple option
1358
1360
"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
1360
1363
else :
1361
1364
os_stdlib_path = ''
1362
1365
if run_vendor == 'apple' :
@@ -1368,7 +1371,8 @@ if not kIsWindows:
1368
1371
"/usr/bin/env "
1369
1372
"DYLD_LIBRARY_PATH='{0}' " # Apple option
1370
1373
"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
1372
1376
1373
1377
#
1374
1378
# When changing substitutions, update docs/Testing.rst.
You can’t perform that action at this time.
0 commit comments