gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnutls-dev] gnutls pkg-config files


From: Andreas Metzler
Subject: [gnutls-dev] gnutls pkg-config files
Date: Sun, 25 Jun 2006 09:47:21 +0200
User-agent: Mutt/1.5.11

Hej,
Since release 0.18 pkg-config supports Libs.private and
Requires.private to support
a) static linking
b) dynamic linking on platforms that require direct linking of all
dependencies[1]

afaiui this should do the trick:
----------------------
diff -ur gnutls13-1.4.0.org/lib/gnutls.pc.in gnutls-1.4.0/lib/gnutls.pc.in
--- gnutls13-1.4.0.org/lib/gnutls.pc.in 2005-05-26 17:21:37.000000000 +0200
+++ gnutls-1.4.0/lib/gnutls.pc.in       2006-06-24 18:10:38.000000000 +0200
@@ -19,4 +19,5 @@
 Description: Transport Security Layer implementation for the GNU system
 Version: @VERSION@
 Libs: -L${libdir} -lgnutls
+Libs.private: @LIBGNUTLS_LIBS@ 
 Cflags: -I${includedir}
diff -ur gnutls13-1.4.0.org/libextra/gnutls-extra.pc.in 
gnutls-1.4.0/libextra/gnutls-extra.pc.in
--- gnutls13-1.4.0.org/libextra/gnutls-extra.pc.in      2005-05-26 
17:16:58.000000000 +0200
+++ gnutls-1.4.0/libextra/gnutls-extra.pc.in    2006-06-25 09:35:53.758199856 
+0200
@@ -20,4 +20,5 @@
 Requires: gnutls
 Version: @VERSION@
 Libs: -L${libdir} -lgnutls-extra
+Libs.private: @LIBGNUTLS_EXTRA_LIBS@
 Cflags: -I${includedir}
----------------------

thanks, cu andreas

[1] On such platforms you'd need
  -ltasn1 -lz -lgcrypt -lnsl -lgpg-error -lgnutls for dynamic linking
instead of just -lgnutls.
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde



reply via email to

[Prev in Thread] Current Thread [Next in Thread]