mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Make sure DMC compiler is invoked by command containing only backward slashes.
Thanks to Daniel James for reporting that this is necessary. [SVN r33122]
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
import feature generators common ;
|
||||
import toolset : flags ;
|
||||
import sequence regex ;
|
||||
|
||||
feature.extend toolset : dmc ;
|
||||
|
||||
@@ -33,7 +34,10 @@ rule init ( version ? : command * : options * )
|
||||
|
||||
if $(root)
|
||||
{
|
||||
flags dmc .root $(condition) : $(root)/bin/ ;
|
||||
# DMC linker is sensitive the the direction of slashes, and
|
||||
# won't link if forward slashes are used in command.
|
||||
root = [ sequence.join [ regex.split $(root) "/" ] : "\\" ] ;
|
||||
flags dmc .root $(condition) : $(root)\bin\ ;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user