mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-05 09:58:25 +02:00
2002-02-01 Havoc Pennington <hp@redhat.com>
Author: hp Date: 2002-02-01 22:31:43 GMT 2002-02-01 Havoc Pennington <hp@redhat.com> * pkg.c (verify_package): don't warn about /usr/include /usr/lib in cflags/libs, too annoying to fix
This commit is contained in:
parent
d192f98006
commit
df41ad0951
2 changed files with 9 additions and 4 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2002-02-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* pkg.c (verify_package): don't warn about /usr/include /usr/lib
|
||||
in cflags/libs, too annoying to fix
|
||||
|
||||
2002-02-01 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
Throughout: cast chars to guchar before passing to isspace, etc.,
|
||||
|
|
|
|||
8
pkg.c
8
pkg.c
|
|
@ -673,8 +673,8 @@ verify_package (Package *pkg)
|
|||
if (strcmp (iter->data, "-I/usr/include") == 0 ||
|
||||
strcmp (iter->data, "-I /usr/include") == 0)
|
||||
{
|
||||
verbose_error ("Package %s has -I/usr/include in Cflags; this may cause problems and is not recommended\n",
|
||||
pkg->name);
|
||||
debug_spew ("Package %s has -I/usr/include in Cflags\n",
|
||||
pkg->name);
|
||||
if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_CFLAGS") == NULL)
|
||||
{
|
||||
iter->data = NULL;
|
||||
|
|
@ -699,8 +699,8 @@ verify_package (Package *pkg)
|
|||
if (strcmp (iter->data, "-L/usr/lib") == 0 ||
|
||||
strcmp (iter->data, "-L /usr/lib") == 0)
|
||||
{
|
||||
verbose_error ("Package %s has -L/usr/lib in Libs; this may cause problems and is not recommended\n",
|
||||
pkg->name);
|
||||
debug_spew ("Package %s has -L/usr/lib in Libs\n",
|
||||
pkg->name);
|
||||
if (g_getenv ("PKG_CONFIG_ALLOW_SYSTEM_LIBS") == NULL)
|
||||
{
|
||||
iter->data = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue