diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-04-17 07:36:39 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-04-18 05:42:59 -0700 |
commit | ec844f503ccb49c46932dbb733a808eb28babcf1 (patch) | |
tree | 82154c30e21eda4de9b77baa5a7f9ebc239fabe1 | |
parent | 7328e6fc9ec4191105cd4433320ea585d8f95d97 (diff) | |
download | pkg-config-ec844f503ccb49c46932dbb733a808eb28babcf1.tar.gz |
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.
-rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |