File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
SWBGenericUnixPlatform/Specs
SWBUniversalPlatform/Specs Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 145145 DefaultValue = YES;
146146 Condition = "NO";
147147 },
148+ {
149+ Name = "SWIFTC_LD_EXPORT_GLOBAL_SYMBOLS";
150+ Type = Boolean;
151+ DefaultValue = "$(LD_EXPORT_GLOBAL_SYMBOLS)";
152+ Condition = "$(LINKER_DRIVER) == swiftc";
153+ CommandLineArgs = {
154+ YES = (
155+ "-Xlinker", "--export-dynamic"
156+ );
157+ NO = ();
158+ };
159+ },
148160 {
149161 Name = "__INPUT_FILE_LIST_PATH__";
150162 Type = Path;
Original file line number Diff line number Diff line change 501501 Name = "LD_EXPORT_GLOBAL_SYMBOLS";
502502 Type = Boolean;
503503 DefaultValue = NO;
504+ },
505+ {
506+ Name = "SWIFTC_LD_EXPORT_GLOBAL_SYMBOLS";
507+ Type = Boolean;
508+ DefaultValue = "$(LD_EXPORT_GLOBAL_SYMBOLS)";
509+ Condition = "$(LINKER_DRIVER) == swiftc";
510+ CommandLineArgs = {
511+ YES = (
512+ "-Xlinker", "-export_dynamic"
513+ );
514+ NO = ();
515+ };
516+ },
517+ {
518+ Name = "CLANG_LD_EXPORT_GLOBAL_SYMBOLS";
519+ Type = Boolean;
520+ DefaultValue = "$(LD_EXPORT_GLOBAL_SYMBOLS)";
521+ Condition = "$(LINKER_DRIVER) == clang";
504522 CommandLineArgs = {
505523 YES = (
506524 "-rdynamic",
Original file line number Diff line number Diff line change 160160 DefaultValue = YES;
161161 Condition = "NO";
162162 },
163+ {
164+ Name = "SWIFTC_LD_EXPORT_GLOBAL_SYMBOLS";
165+ Type = Boolean;
166+ Condition = NO;
167+ CommandLineArgs = ();
168+ },
163169 {
164170 Name = "__INPUT_FILE_LIST_PATH__";
165171 Type = Path;
You can’t perform that action at this time.
0 commit comments