[packages] weechat: Use pkg-config instead of gnutls-config

We don't ship gnutls-config and configure might end up using the hosts
gnutls-config.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19690 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars
2010-02-17 17:22:16 +00:00
parent 112d67791e
commit 3f4f13d716
2 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,15 @@
diff --git a/configure b/configure
index f388ffe..c9ec352 100755
--- a/configure
+++ b/configure
@@ -31400,8 +31400,8 @@ echo "$as_me: WARNING:
if test "x$found_gnutls" = "xyes" ; then
- GNUTLS_CFLAGS=`libgnutls-config --cflags`
- GNUTLS_LFLAGS=`libgnutls-config --libs`
+ GNUTLS_CFLAGS=`pkg-config gnutls --cflags`
+ GNUTLS_LFLAGS=`pkg-config gnutls --libs`
cat >>confdefs.h <<\_ACEOF