2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Ignore <runtime-link>static and don't pass -static to linker on Darwin,

as it's not supported by the toolset.

Thanks to Doug Gregor for diagnosing this.


[SVN r33675]
This commit is contained in:
Vladimir Prus
2006-04-12 07:12:52 +00:00
parent d16721d0ba
commit 3dad3e1012

View File

@@ -21,7 +21,11 @@ generators.override darwin.prebuilt : builtin.prebuilt ;
generators.override darwin.searched-lib-generator : searched-lib-generator ;
toolset.inherit-rules darwin : gcc ;
toolset.inherit-flags darwin : gcc ;
toolset.inherit-flags darwin : gcc
: # On Darwin, static runtime is just not supported. So don't inherit
# any flags settings for <runtime-link>static
<runtime-link>static
;
# No additional initialization should be necessary
rule init ( version ? : command * : options * )