Skip to content

Commit 383a885

Browse files
graydonjrose-apple
authored andcommitted
<rdar://43616773> Add -toolchain-stdlib-rpath and -no-stdlib-rpath.
1 parent c2556eb commit 383a885

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/swift/Option/Options.td

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,12 @@ def static_stdlib: Flag<["-"], "static-stdlib">,
502502
def no_static_stdlib: Flag<["-"], "no-static-stdlib">,
503503
Flags<[HelpHidden,DoesNotAffectIncrementalBuild]>,
504504
HelpText<"Don't statically link the Swift standard library">;
505+
def toolchain_stdlib_rpath: Flag<["-"], "toolchain-stdlib-rpath">,
506+
Flags<[HelpHidden,DoesNotAffectIncrementalBuild]>,
507+
HelpText<"Add an rpath entry for the toolchain's standard library, rather than the OS's">;
508+
def no_stdlib_rpath: Flag<["-"], "no-stdlib-rpath">,
509+
Flags<[HelpHidden,DoesNotAffectIncrementalBuild]>,
510+
HelpText<"Don't add any rpath entries.">;
505511

506512
def static_executable : Flag<["-"], "static-executable">,
507513
HelpText<"Statically link the executable">;

0 commit comments

Comments
 (0)