From patchwork Mon Mar 2 21:40:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 445440 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 317FC1400F1 for ; Tue, 3 Mar 2015 08:40:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7FFB6A1FE3; Mon, 2 Mar 2015 21:40:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sj6yywLS4Gri; Mon, 2 Mar 2015 21:40:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 34A40A1D66; Mon, 2 Mar 2015 21:40:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 86B8E1C2981 for ; Mon, 2 Mar 2015 21:40:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1E20227258 for ; Mon, 2 Mar 2015 21:40:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M8QvCCt5-KuH for ; Mon, 2 Mar 2015 21:40:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by silver.osuosl.org (Postfix) with ESMTPS id 1D3D833474 for ; Mon, 2 Mar 2015 21:40:47 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp1-g21.free.fr (Postfix) with ESMTP id 8ACF49400A0; Mon, 2 Mar 2015 22:40:19 +0100 (CET) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 2 Mar 2015 22:40:24 +0100 Message-Id: <1425332425-7034-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 Subject: [Buildroot] [PATCH 1/2] package/libsrtp: don't error out if libdl and zlib are not found X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Depending on how openssl was compiled, libdl and zlib may not be necessary for linking with libcrypto.a. Upstream turn the error to a warning. https://github.com/cisco/libsrtp/commit/13fd694ae216fcdbc7165bcf77be9e5a1acbecfa Ref: https://github.com/cisco/libsrtp/issues/97 Signed-off-by: Romain Naour --- .../0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch b/package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch index acb2c9a..1240d9f 100644 --- a/package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch +++ b/package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch @@ -22,9 +22,9 @@ index ee30daf..71df46b 100644 CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"; + AC_CHECK_LIB([dl], [dlopen], [], -+ [AC_MSG_FAILURE([can't find libdl])]) ++ [AC_MSG_WARN([can't find libdl])]) + AC_CHECK_LIB([z], [inflate], [], -+ [AC_MSG_FAILURE([can't find libz])]) ++ [AC_MSG_WARN([can't find libz])]) AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])]) AC_CHECK_LIB([crypto], [EVP_aes_128_ctr], [],