2007-12-29 Tollef Fog Heen <tfheen@err.no>
+ * pkg.c (internal_get_package): Don't add the internal-only
+ pkg-config package twice.
+
* pkg.c (verify_package): Apply patch from Matthias Clasen of
RedHat to prevent segfaults if a Conflicts line is encountered.
gboolean ignore_requires = FALSE;
gboolean ignore_private_libs = TRUE;
-static Package pkg_config_package = {
- .key = PACKAGE,
- .name = PACKAGE,
- .version = VERSION, /* .version */
- .description = "returns metainformation about installed libraries",
- .url = "http://pkg-config.freedesktop.org",
- 0 /* keep the rest as null */
-};
-
void
add_search_dir (const char *path)
{
Package *pkg = NULL;
const char *location;
- if (strcmp(PACKAGE, name) == 0)
- return &pkg_config_package;
-
pkg = g_hash_table_lookup (packages, name);
if (pkg)