mirror of
https://github.com/mirror/make.git
synced 2026-09-03 21:23:01 +08:00
Various updates, mainly to the Windows port, from Eli Zaretskii and
Markus Maurhart.
This commit is contained in:
@@ -5,7 +5,12 @@ $description = "Test the -L option.";
|
||||
$details = "Verify that symlink handling with and without -L works properly.";
|
||||
|
||||
# Only run these tests if the system sypports symlinks
|
||||
if (eval { symlink("",""); 1 }) {
|
||||
|
||||
# Apparently the Windows port of Perl reports that it does support symlinks
|
||||
# (in that the symlink() function doesn't fail) but it really doesn't, so
|
||||
# check for it explicitly.
|
||||
|
||||
if ($port_type ne 'W32' && eval { symlink("",""); 1 }) {
|
||||
|
||||
# Set up a symlink sym -> dep
|
||||
# We'll make both dep and targ older than sym
|
||||
|
||||
Reference in New Issue
Block a user