mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 12:22:17 +00:00
Consistently use symlinks when installing Boost.
* Jamroot: use symlink, not hardlink
* tools/build/v2/tools/symlink.jam: Implement fallback
for doing symlinks on Windows.
Fixes #1902. Thanks to Frank Mori Hess for the patch.
[SVN r45445]
This commit is contained in:
@@ -129,10 +129,12 @@ actions ln-UNIX
|
||||
ln -f -s '$(>:D=:R=$(PATH_TO_SOURCE))' '$(<)'
|
||||
}
|
||||
|
||||
# there is a way to do this; it's a dummy rule for now
|
||||
# there is a way to do this; we fall back to a copy for now
|
||||
actions ln-NT
|
||||
{
|
||||
echo "NT symlinks not supported yet"
|
||||
echo "NT symlinks not supported yet, making copy"
|
||||
del /f /q "$(<)" 2$(NULL_OUT) $(NULL_OUT)
|
||||
copy "$(>)" "$(<)" $(NULL_OUT)
|
||||
}
|
||||
|
||||
IMPORT $(__name__) : symlink : : symlink ;
|
||||
|
||||
Reference in New Issue
Block a user