From 20f268aee2f954832d2a10e8a9ac9b02c1e59a1a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 7 Jun 2007 18:22:29 +0000 Subject: [PATCH] Add back in using all the generated lib targets for Windows/GCC so resolve ticket #1025. [SVN r37930] --- v2/tools/gcc.jam | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/v2/tools/gcc.jam b/v2/tools/gcc.jam index 800d3f2b2..ba31b668e 100644 --- a/v2/tools/gcc.jam +++ b/v2/tools/gcc.jam @@ -434,23 +434,7 @@ class gcc-linking-generator : unix-linking-generator local generated-targets = [ unix-linking-generator.run $(project) $(name) : $(property-set) : $(sources) ] ; - # If more than one target was generated, throw out the - # last one, which on windows just leaves the import - # library. Most generators on windows simply don't accept - # shared libraries as input, but being able to link - # directly to a shared library without an import library - # is an important capability of GCC. Therefore, we remove - # the target after the action sees it so that dependent - # targets don't try to link to both the import library and - # the DLL. - if [ $(property-set).get ] = true - { - return $(generated-targets[0]) $(generated-targets[-1]) ; - } - else - { - return $(generated-targets[1-2]) ; - } + return $(generated-targets) ; } } }