Subject: Re: [Boost-build] UNC path for library search path
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-07-13 07:21:19
On Wednesday, July 06, 2011 21:17:45 Jim Gallagher wrote:
> We've got a bunch of third party libraries that we link against stored
> on a file share. We would prefer to refer to the share using the UNC
> convention, \\server\share\path, but this does not seem to work.
> We've defined the libs in Jamroot like so:
> import os ;
> constant LIBSHARE : [ os.environ LIBSHARE ] ;
> lib libfoo : : <target-os>windows <search>$(LIBSHARE)/lib ;
> As sample setting for LIBSHARE looks like
> "//myserver.company.com/share/version/win32". Running a build that has
> libfoo as a dependency results in /LIBPATH:"..\..\.." being passed to
> the linker, which is clearly wrong. If we map the share to a drive
> letter, it does work correctly.
I did not work with UNC paths when compiling, so what is exactly wrong?
The direction of the paths? Something else?
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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