2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-12 12:02:24 +00:00

Make borland really work under cygwin, especially when borland install path

has spaces.

Patch from Malcolm Cifuentes.


[SVN r29610]
This commit is contained in:
Vladimir Prus
2005-06-16 09:38:45 +00:00
parent d35853f3d1
commit d5ad4c4307

View File

@@ -159,6 +159,7 @@ if [ os.name ] = CYGWIN
{
.set-path = "cmd /S /C set \"PATH=" ;
.old-path = ";%PATH%\" \"&&\"" ;
# Couldn't get TLIB to stop being confused about pathnames
# containing dashes (it seemed to treat them as option separators
@@ -166,11 +167,13 @@ if [ os.name ] = CYGWIN
# command into a .bat file and execute that. TLIB is also finicky
# about pathname style! Forward slashes, too, are treated as
# options.
# TLIB
actions updated together piecemeal archive
{
echo "\"$(.root)tlib\" $(OPTIONS) /u /a /C \"$(<:W)\" +-\"$(>:W)\"" > $(<:D)/tlib.bat
chmod +x $(<:D)/tlib.bat && $(<:D)/tlib.bat && rm $(<:D)/tlib.bat ;
}
chdir $(<:D)
echo +-$(>:BS) > $(<:BS).rsp
$(.set-path)$(.root)$(.old-path) "tlib.exe" $(AROPTIONS) /P256 /C $(<:BS) @$(<:BS).rsp && $(RM) $(<:BS).rsp
}
}
else if [ os.name ] = NT
{