From b88077a67923476fbfcb894da32e94cdc2f2e2ef Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 4 Feb 2005 20:17:49 +0000 Subject: [PATCH] Fix the way paths are adjusted for Cygwin [SVN r27097] --- v2/tools/testing.jam | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/v2/tools/testing.jam b/v2/tools/testing.jam index 58a2569c9..a765894a1 100644 --- a/v2/tools/testing.jam +++ b/v2/tools/testing.jam @@ -278,17 +278,9 @@ rule run-path-setup ( target : source : properties * ) { dll-paths = [ sequence.transform path.native : $(dll-paths) ] ; - local var-name = LD_LIBRARY_PATH ; - # Even on cygwin, the LD_LIBRARY_PATH has no effect, need to - # use PATH. - if [ os.on-windows ] - { - var-name = PATH ; - } - PATH_SETUP on $(target) = - [ common.path-variable-setting-command $(var-name) - : $(dll-paths) $$(var-name) : exported ] ; + [ common.prepend-path-variable-command + [ os.shared-library-path-variable ] : $(dll-paths) ] ; } }