mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 09:30:28 +01:00
Fix regression in -L mangling for MSVC
Commit 9bf6277b reworked how Libs arguments are parsed but unfortunately
added an extra library suffix component into -L arguments. This only
affects MSVC syntax where the suffix is .libs. All other platforms use a
blank suffix in linker commands.
This commit is contained in:
parent
7328e6fc9e
commit
ec844f503c
1 changed files with 1 additions and 1 deletions
2
parse.c
2
parse.c
|
|
@ -645,7 +645,7 @@ static void _do_parse_libs (Package *pkg, int argc, char **argv)
|
|||
++p;
|
||||
|
||||
flag->type = LIBS_L;
|
||||
flag->arg = g_strconcat (L_flag, p, lib_suffix, NULL);
|
||||
flag->arg = g_strconcat (L_flag, p, NULL);
|
||||
pkg->libs = g_list_prepend (pkg->libs, flag);
|
||||
}
|
||||
else if (strcmp("-framework",p) == 0 && i+1 < argc)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue