Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2011 08:44:34 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pkg-config --cflags glib-2.0 gives wrong -I dir
Message-ID:  <20110627064434.GA2435@tinyCurrent>
In-Reply-To: <20110626002051.GA44024@dan.emsphone.com>
References:  <20110625045740.GA3383@tinyCurrent> <20110626002051.GA44024@dan.emsphone.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
El día Saturday, June 25, 2011 a las 07:20:52PM -0500, Dan Nelson escribió:

> Checking Solaris and SUSE Linux, I see a similar pair of directories:
> 
> solaris$ pkg-config --cflags glib-2.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> 
> linux$ pkg-config --cflags glib-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> 
> The /usr/lib* directory on each system contains a single file: glibconfig.h. 
> On FreeBSD, this file is in /usr/local/include/glib-2.0/ along with all the
> other headers (headers don't belong in /lib/ anyway).

I totally agree: headers don't belong there. The same is broken for:

$ pkg-config --cflags gtk+-2.0
-D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include.......

	matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110627064434.GA2435>