diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-04 13:47:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-04 13:54:49 -0800 |
| commit | 6c62839a7ff4752fdd77e599beb87f3ccaaa6e84 (patch) | |
| tree | 3a36e38033a494d4ec0142eed4b6f2894425a0b5 /man | |
| parent | ac134f7ca435551964996ee88319241cd3c7c110 (diff) | |
| download | rust-6c62839a7ff4752fdd77e599beb87f3ccaaa6e84.tar.gz rust-6c62839a7ff4752fdd77e599beb87f3ccaaa6e84.zip | |
rustc: Recognize `-L framework=foo`
On OSX the linker has a separate framework lookup path which is specified via the `-F` flag. This adds a new kind of `-L` path recognized by the compiler for frameworks to be passed through to the linker. Closes #20259
Diffstat (limited to 'man')
| -rw-r--r-- | man/rustc.1 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/man/rustc.1 b/man/rustc.1 index 3d8b27a408a..49056afa045 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -18,10 +18,15 @@ Display the help message \fB\-\-cfg\fR SPEC Configure the compilation environment .TP -\fB\-L\fR PATH -Add a directory to the library search path -.TP -\fB\-l\fR NAME[:KIND] +\fB\-L\fR [KIND=]PATH +Add a directory to the library search path. The optional KIND can be one of: + dependency = only lookup transitive dependencies here + crate = only lookup local `extern crate` directives here + native = only lookup native libraries here + framework = only look for OSX frameworks here + all = look for anything here (the default) +.TP +\fB\-l\fR [KIND=]NAME Link the generated crate(s) to the specified native library NAME. The optional KIND can be one of, static, dylib, or framework. If omitted, dylib is assumed. .TP |
