From 3dad3e1012acb1bec7d7add6f046d23aeb5b7fc8 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 12 Apr 2006 07:12:52 +0000 Subject: [PATCH] Ignore 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] --- v2/tools/darwin.jam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v2/tools/darwin.jam b/v2/tools/darwin.jam index 8756d0a56..c13de782e 100644 --- a/v2/tools/darwin.jam +++ b/v2/tools/darwin.jam @@ -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 static + static + ; # No additional initialization should be necessary rule init ( version ? : command * : options * )