[gmime/gmime-2-4] Use Libs.private for extra libs
- From: Jeffrey Stedfast <fejj src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gmime/gmime-2-4] Use Libs.private for extra libs
- Date: Mon, 30 Nov 2009 15:33:40 +0000 (UTC)
commit 91a25031ef3fdc1d0c1d0daca7db5f9a53eb4fe8
Author: Jeffrey Stedfast <fejj gnome org>
Date: Mon Nov 30 10:32:04 2009 -0500
Use Libs.private for extra libs
2009-11-30 Jeffrey Stedfast <fejj novell com>
* configure.in: Don't include EXTRA_LIBS in GMIME_LIBS, instead
add it to GMIME_LIBS_PRIVATE so that things properly expand in
the
.pc file.
* gmime-2.4.pc.in: Moved -lz -lnsl, etc into Libs.private. Fixes
bug #603273.
ChangeLog | 9 +++++++++
configure.in | 6 ++++--
gmime-2.4.pc.in | 1 +
3 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4db13cc..bb96f14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-11-30 Jeffrey Stedfast <fejj novell com>
+
+ * configure.in: Don't include EXTRA_LIBS in GMIME_LIBS, instead
+ add it to GMIME_LIBS_PRIVATE so that things properly expand in the
+ .pc file.
+
+ * gmime-2.4.pc.in: Moved -lz -lnsl, etc into Libs.private. Fixes
+ bug #603273.
+
2009-11-07 Jeffrey Stedfast <fejj novell com>
* README: Bumped version
diff --git a/configure.in b/configure.in
index 0188297..d3b2892 100644
--- a/configure.in
+++ b/configure.in
@@ -497,12 +497,14 @@ AC_SUBST(LIBS)
GMIME_LIBDIR="-L${libdir}"
GMIME_INCLUDEDIR="-I${includedir}/gmime-2.4"
-GMIME_LIBS="-lgmime-2.4 $EXTRA_LIBS"
+GMIME_LIBS_PRIVATE="$EXTRA_LIBS"
+GMIME_LIBS="-lgmime-2.4"
-AC_SUBST(GMIME_LIBS)
AC_SUBST(GMIME_LIBDIR)
AC_SUBST(GMIME_INCLUDEDIR)
+AC_SUBST(GMIME_LIBS_PRIVATE)
AC_SUBST(GMIME_CFLAGS)
+AC_SUBST(GMIME_LIBS)
AC_OUTPUT(
diff --git a/gmime-2.4.pc.in b/gmime-2.4.pc.in
index 199481f..9ce6482 100644
--- a/gmime-2.4.pc.in
+++ b/gmime-2.4.pc.in
@@ -8,5 +8,6 @@ Name: GMime
Version: @VERSION@
Description: MIME parser and utility library
Requires: glib-2.0,gobject-2.0
+Libs.private: @GMIME_LIBS_PRIVATE@
Libs: -L${libdir} @GMIME_LIBS@
Cflags: -I${includedir}/gmime- GMIME_API_VERSION@ @GMIME_CFLAGS@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]