diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-12-04 15:04:20 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-12-04 15:04:20 +0000 |
commit | 32b56fe4d252ad574743936439e8977953c6f1b0 (patch) | |
tree | 7c2d2f1412cff5d2bd6956610089447badd002be | |
parent | efd031abca58553db78fd2c7ca036812273580b3 (diff) |
avoid use of symlinks on Windows: it causes problems on some build environments
-rwxr-xr-x | util/mklink.pl | 1 | ||||
-rwxr-xr-x | util/point.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/util/mklink.pl b/util/mklink.pl index 61db12c68f..72a562ecaf 100755 --- a/util/mklink.pl +++ b/util/mklink.pl @@ -52,6 +52,7 @@ my $to = join('/', @to_path); my $file; $symlink_exists=eval {symlink("",""); 1}; if ($^O eq "msys") { $symlink_exists=0 }; +if ($^O eq "MSWin32") { $symlink_exists=0 }; foreach $file (@files) { my $err = ""; if ($symlink_exists) { diff --git a/util/point.sh b/util/point.sh index da39899cb1..22daf0e8c5 100755 --- a/util/point.sh +++ b/util/point.sh @@ -1,7 +1,7 @@ #!/bin/sh rm -f "$2" -if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw ; then +if test "$OSTYPE" = msdosdjgpp || test "x$PLATFORM" = xmingw || test "x$OS" = xWindows_NT ; then cp "$1" "$2" else ln -s "$1" "$2" |