[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-167-g2742d7a)
The branch, master has been updated
via 2742d7a50cbf126ea5a901e2f9faa6259263ae75 (commit)
from bb9b1321c59714e432c1c6a196a39baf56a437f9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
libgeda/libgeda.pc.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
=================
Commit Messages
=================
commit 2742d7a50cbf126ea5a901e2f9faa6259263ae75
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sat Jan 10 21:21:39 2009 +0000
libgeda: Avoid overlinking against libraies we don't actually use
The only libraries we need to specify for libgeda is -lgeda, and an
appropriate search path.
For CFLAGS, we need to specify the path to libgeda's include files.
We must also reference the libraries we depend upon being installed
for our API / header files. This is currently guile and gdk-pixbuf.
Since difrerent guile versions have different pkg-config files, this
is not particulary simple to achieve. To avoid the problem, lets
just not pass any guile CFLAGS on from libgeda's pkg-config file.
Libgeda requires its callers to have correctly initialised guile, so
imposing the requirement that guile's include files are available is
not a great extra burden. (They must be available for the app to be
calling the correct initalisation functions).
:100644 100644 a832b0d... 33c0a13... M libgeda/libgeda.pc.in
=========
Changes
=========
commit 2742d7a50cbf126ea5a901e2f9faa6259263ae75
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sat Jan 10 21:21:39 2009 +0000
libgeda: Avoid overlinking against libraies we don't actually use
The only libraries we need to specify for libgeda is -lgeda, and an
appropriate search path.
For CFLAGS, we need to specify the path to libgeda's include files.
We must also reference the libraries we depend upon being installed
for our API / header files. This is currently guile and gdk-pixbuf.
Since difrerent guile versions have different pkg-config files, this
is not particulary simple to achieve. To avoid the problem, lets
just not pass any guile CFLAGS on from libgeda's pkg-config file.
Libgeda requires its callers to have correctly initialised guile, so
imposing the requirement that guile's include files are available is
not a great extra burden. (They must be available for the app to be
calling the correct initalisation functions).
diff --git a/libgeda/libgeda.pc.in b/libgeda/libgeda.pc.in
index a832b0d..33c0a13 100644
--- a/libgeda/libgeda.pc.in
+++ b/libgeda/libgeda.pc.in
@@ -7,5 +7,5 @@ Name: libgeda
Description: gEDA/gaf's core library
Requires: gdk-pixbuf-2.0
Version: @DATE_VERSION@
-Libs: -L${libdir} -lgeda @LIBGEDA_LDFLAGS@
-Cflags: -I${includedir} @LIBGEDA_CFLAGS@
+Libs: -L${libdir} -lgeda
+Cflags: -I${includedir} @GUILE_CFLAGS@
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs