mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 11:50:34 +01:00
Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
Author: timj
Date: 2001-06-17 10:13:09 GMT
Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
* pkg.c (internal_get_package): fix check before parsing a file at
"location" to read (location==NULL) instead of (pkg==NULL).
This commit is contained in:
parent
9a24428500
commit
9c879bb4f8
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* pkg.c (internal_get_package): fix check before parsing a file at
|
||||
"location" to read (location==NULL) instead of (pkg==NULL).
|
||||
|
||||
2001-06-14 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* pkg.c (internal_get_package): don't fall back to legacy -config
|
||||
|
|
|
|||
2
pkg.c
2
pkg.c
|
|
@ -217,7 +217,7 @@ internal_get_package (const char *name, gboolean warn, gboolean check_compat)
|
|||
}
|
||||
}
|
||||
|
||||
if (pkg == NULL)
|
||||
if (location == NULL)
|
||||
{
|
||||
if (warn)
|
||||
verbose_error ("Package %s was not found in the pkg-config search path.\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue