mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 15:10:28 +02:00
Only consider -l option if -l is at start of argument
git-svn-id: trunk@22862 -
This commit is contained in:
parent
1ecc2672bb
commit
3915b8e7f9
@ -279,7 +279,7 @@ BEGIN {
|
||||
print dynamiclib;
|
||||
print librarypath;
|
||||
}
|
||||
if ( list[i] ~ /-l/ ) {
|
||||
if ( list[i] ~ /^-l/ ) {
|
||||
systemlib = gensub (/-l([^ ]*)/,"\\1","g",list[i]);
|
||||
if (forcestatic == 1) {
|
||||
systemlib="lib" systemlib ".a"
|
||||
|
Loading…
Reference in New Issue
Block a user