mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 22:23:39 +02:00
Merge branch '2579-install-paths' into 'main'
docs: Update some outdated paths in INSTALL.in Closes #2579 See merge request GNOME/glib!2436
This commit is contained in:
10
INSTALL.in
10
INSTALL.in
@@ -96,13 +96,10 @@ use of these flags is not tested.
|
|||||||
One particular detail to note, is that the architecture-dependent
|
One particular detail to note, is that the architecture-dependent
|
||||||
include file glibconfig.h is installed in:
|
include file glibconfig.h is installed in:
|
||||||
|
|
||||||
$exec_prefix/lib/glib/include/
|
$libdir/glib-2.0/include/
|
||||||
|
|
||||||
if you have a version in $prefix/include, this is out of date
|
|
||||||
and should be deleted.
|
|
||||||
|
|
||||||
.pc files for the various libraries are installed in
|
.pc files for the various libraries are installed in
|
||||||
$exec_prefix/lib/pkgconfig to provide information when compiling
|
$libdir/pkgconfig to provide information when compiling
|
||||||
other packages that depend on GLib. If you set PKG_CONFIG_PATH
|
other packages that depend on GLib. If you set PKG_CONFIG_PATH
|
||||||
so that it points to this directory, then you can get the
|
so that it points to this directory, then you can get the
|
||||||
correct include flags and library flags for compiling a GLib
|
correct include flags and library flags for compiling a GLib
|
||||||
@@ -111,6 +108,9 @@ application with:
|
|||||||
pkg-config --cflags glib-2.0
|
pkg-config --cflags glib-2.0
|
||||||
pkg-config --libs glib-2.0
|
pkg-config --libs glib-2.0
|
||||||
|
|
||||||
|
This is the only supported way of determining the include and library flags
|
||||||
|
for building against GLib.
|
||||||
|
|
||||||
|
|
||||||
Cross-compiling GLib
|
Cross-compiling GLib
|
||||||
====================
|
====================
|
||||||
|
Reference in New Issue
Block a user