summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/mkinstallvars.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/mkinstallvars.pl b/util/mkinstallvars.pl
index 5fadb708e1..e2b7d9d083 100644
--- a/util/mkinstallvars.pl
+++ b/util/mkinstallvars.pl
@@ -124,7 +124,9 @@ print <<_____;
our \$VERSION = '$ENV{VERSION}';
our \@LDLIBS =
# Unix and Windows use space separation, VMS uses comma separation
- split(/ +| *, */, '$ENV{LDLIBS}');
+ \$^O eq 'VMS'
+ ? split(/ *, */, '$ENV{LDLIBS}')
+ : split(/ +/, '$ENV{LDLIBS}');
1;
_____