From 6c62839a7ff4752fdd77e599beb87f3ccaaa6e84 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 4 Feb 2015 13:47:06 -0800 Subject: 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 --- man/rustc.1 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'man') 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 -- cgit 1.4.1-3-g733a5