From e6aa2fea0fa47ca14486b4b0fdd158c208615517 Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Thu, 10 Feb 2011 18:47:17 +0000 Subject: [PATCH] Replace archive rule with stock ar command. May break 3.2 but will work with 4.x. [SVN r68763] --- v2/tools/pathscale.jam | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/v2/tools/pathscale.jam b/v2/tools/pathscale.jam index 67f3396dd..454e34547 100644 --- a/v2/tools/pathscale.jam +++ b/v2/tools/pathscale.jam @@ -161,7 +161,8 @@ actions link.dll bind LIBRARIES } # Declare action for creating static libraries -# actions piecemeal archive -# { -# "$(CONFIG_COMMAND)" -ar -o "$(<)" "$(>)" -# } +# "$(CONFIG_COMMAND)" -ar -o "$(<)" "$(>)" +actions piecemeal archive +{ + ar $(ARFLAGS) ru "$(<)" "$(>)" +}