Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-13 11:32:42


"John Maddock" <john_at_[hidden]> writes:

> When I use a cygwin built bjam and do:
>
> cd libs/regex/test
> bjam regex_regress_dll
>
> Then everything builds OK, but the running the program fails, because the
> regex dll can't be found - it needs to be in the PATH, not LD_LIBRARY_PATH,
> but we've been here before I think,
>
> Thanks,

Hmm, works for me. But I found an obvious bug. Please apply this
patch and tell me if it starts working:

--- boost-base.jam 23 May 2005 01:00:20 -0400 1.149
+++ boost-base.jam 13 Jun 2005 12:32:00 -0400
@@ -1735,7 +1735,7 @@
}

# Dynamic libraries are actually found on PATH
- if $(NT) || ( $(UNIX) = $(CYGWIN) )
+ if $(NT) || ( $(UNIX) = CYGWIN )
{
.shell-var(LD_LIBRARY_PATH) = PATH ;
}

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk