Ticket #1902: build_symbolic_links.patch
File build_symbolic_links.patch, 1.3 KB (added by , 14 years ago) |
---|
-
Jamroot
414 414 } 415 415 } 416 416 417 # Create hardlinks without version.417 # Create links without version. 418 418 for local s in $(filtered) 419 419 { 420 420 local name = [ $(s).name ] ; 421 421 local ea = [ $(s).action ] ; 422 422 local ep = [ $(ea).properties ] ; 423 423 local a = [ 424 new non-scanning-action $(s) : common.hard-link: $(ep) ] ;424 new non-scanning-action $(s) : symlink.ln : $(ep) ] ; 425 425 426 426 local noversion-file ; 427 427 if $(nt) -
tools/build/v2/tools/symlink.jam
129 129 ln -f -s '$(>:D=:R=$(PATH_TO_SOURCE))' '$(<)' 130 130 } 131 131 132 # there is a way to do this; it's a dummy rulefor now132 # there is a way to do this; we fall back to a copy for now 133 133 actions ln-NT 134 134 { 135 echo "NT symlinks not supported yet" 135 echo "NT symlinks not supported yet, making copy" 136 del /f /q "$(<)" 2$(NULL_OUT) $(NULL_OUT) 137 copy "$(>)" "$(<)" $(NULL_OUT) 136 138 } 137 139 138 140 IMPORT $(__name__) : symlink : : symlink ;