All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] gnutls: link against 'dl' library
Date: Wed,  1 Jun 2011 20:09:55 +0000	[thread overview]
Message-ID: <ddcfd950f58f85e00b0ea094534f27ccf1315152.1306958862.git.otavio@ossystems.com.br> (raw)
In-Reply-To: <cover.1306958862.git.otavio@ossystems.com.br>
In-Reply-To: <cover.1306958862.git.otavio@ossystems.com.br>

Fixes a build failure due missing references to 'dlopen' and
like. This started to happen after update to 2.12.5 at
ad52eacebdc413aa351de078ee878182a9c71e16. This also fixes the recipe
to use the INC_PR value otherwise we end not bumping PR if changing
only the '.inc' file.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 meta/recipes-support/gnutls/gnutls.inc       |    4 +++-
 meta/recipes-support/gnutls/gnutls_2.12.5.bb |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
index 9f8d81b..9452190 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gnutls/"
 BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
 DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 LICENSE = "GPLv3+ & LGPLv2.1+"
 LICENSE_${PN} = "LGPLv2.1+"
@@ -30,6 +30,8 @@ do_configure_prepend() {
 	done
 }
 
+export LDFLAGS += "-ldl"
+
 PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
 
 FILES_${PN} = "${libdir}/libgnutls.so.*"
diff --git a/meta/recipes-support/gnutls/gnutls_2.12.5.bb b/meta/recipes-support/gnutls/gnutls_2.12.5.bb
index b27a065..9d3f5ab 100644
--- a/meta/recipes-support/gnutls/gnutls_2.12.5.bb
+++ b/meta/recipes-support/gnutls/gnutls_2.12.5.bb
@@ -1,6 +1,6 @@
 require gnutls.inc
 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 SRC_URI += "file://gnutls-openssl.patch \
             file://configure-fix.patch"
-- 
1.7.2.5




  parent reply	other threads:[~2011-06-01 20:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 20:09 [PATCH 0/3] Patches pending on O.S. Systems tree Otavio Salvador
2011-06-01 20:09 ` [PATCH 1/3] busybox: enable mdev by default Otavio Salvador
2011-06-01 20:37   ` Phil Blundell
2011-06-01 20:40     ` Otavio Salvador
2011-06-02 16:37       ` Richard Purdie
2011-06-02 16:40         ` Otavio Salvador
2011-06-03  1:06         ` Khem Raj
2011-06-03  6:37           ` Koen Kooi
2011-06-03  8:24             ` Richard Purdie
2011-06-03  8:59               ` Koen Kooi
2011-06-03  9:50                 ` Richard Purdie
2011-06-03 10:42                   ` Koen Kooi
2011-06-03  9:57           ` Phil Blundell
2011-06-01 20:09 ` [PATCH 2/3] qmake_base.bbclass: fix lrelease/lupdate binary names Otavio Salvador
2011-06-02 16:51   ` Paul Eggleton
2011-06-02 17:27     ` Richard Purdie
2011-06-01 20:09 ` Otavio Salvador [this message]
2011-06-01 20:33   ` [PATCH 3/3] gnutls: link against 'dl' library Phil Blundell
2011-06-01 20:39     ` Otavio Salvador
2011-06-01 20:53       ` Phil Blundell
2011-06-01 21:00         ` Otavio Salvador
2011-06-01 21:43           ` Saul Wold
2011-06-01 21:52             ` Martin Jansa
2011-06-01 22:19               ` Saul Wold
2011-06-02  6:31                 ` Martin Jansa
2011-06-02  9:29                   ` Koen Kooi
2011-06-02  9:38                   ` Richard Purdie
2011-06-02 11:00                     ` [PATCH] gnutls: add --with-libdl-prefix and --with-libpthread-prefix Martin Jansa
2011-06-02 13:53                       ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ddcfd950f58f85e00b0ea094534f27ccf1315152.1306958862.git.otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.