mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-03 13:37:59 +02:00
2008-04-28 Tollef Fog Heen <tfheen@err.no>
* parse.c (_do_parse_libs): Special-case "-lib:" in the Libs field; it's not an -l. Yes, this breaks if your library is called libib:$something, in which case you lose. Gnome #142952
This commit is contained in:
parent
5998a08da4
commit
d5d6a8f8a7
2 changed files with 8 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
2008-04-28 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* parse.c (_do_parse_libs): Special-case "-lib:" in the Libs
|
||||
field; it's not an -l. Yes, this breaks if your library is called
|
||||
libib:$something, in which case you lose. Gnome #142952
|
||||
|
||||
* main.c (main): Make sure log is initialized to prevent
|
||||
segfaults.
|
||||
|
||||
|
|
|
|||
5
parse.c
5
parse.c
|
|
@ -656,7 +656,10 @@ static void _do_parse_libs (Package *pkg, int argc, char **argv)
|
|||
p = start;
|
||||
|
||||
if (p[0] == '-' &&
|
||||
p[1] == 'l')
|
||||
p[1] == 'l' &&
|
||||
/* -lib: is used by the C# compiler for libs; it's not an -l
|
||||
flag. */
|
||||
(strncmp(p, "-lib:", 5) != 0))
|
||||
{
|
||||
char *libname;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue