Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
contrib/buildsystems: handle options starting with a slash
[gitweb.git]
/
contrib
/
buildsystems
/
engine.pl
diff --git
a/contrib/buildsystems/engine.pl
b/contrib/buildsystems/engine.pl
index 9bde7ae15b538eacfc4ee1a2f4855495f114723d..8bb07e8e25cc505ad25a97731fb482dc2b8b2334 100755
(executable)
--- a/
contrib/buildsystems/engine.pl
+++ b/
contrib/buildsystems/engine.pl
@@
-351,7
+351,7
@@
sub handleLinkLine
push(@libs, "expat.lib");
} elsif ("$part" eq "-liconv") {
push(@libs, "libiconv.lib");
- } elsif ($part =~ /^
-
/) {
+ } elsif ($part =~ /^
[-\/]
/) {
push(@lflags, $part);
} elsif ($part =~ /\.(a|lib)$/) {
$part =~ s/\.a$/.lib/;