summaryrefslogtreecommitdiffstats
path: root/wintools
diff options
context:
space:
mode:
Diffstat (limited to 'wintools')
-rwxr-xr-xwintools/make.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/wintools/make.pl b/wintools/make.pl
index 737f1ee..ace6944 100755
--- a/wintools/make.pl
+++ b/wintools/make.pl
@@ -11,8 +11,12 @@ use Cwd;
# get current working directory
$pwd=cwd();
-# work-around slashes problems for badly ported perl interpreters
-$pwd=~s{/}{\\}g;
+
+# work-around slashes problems for nmake
+if ($target eq "msvc")
+{
+ $pwd=~s{/}{\\}g;
+}
# create config file
open(FILE,">makeconfig") || die "Cannot create file makeconfig!";