• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libsrtp/0002-A-autoconf-checks-for-libz-and-libdl-when-OpenSSL-is.patch
Romain NaourRomain Naour committed 5d15655964826 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 3107a0161bf30f7e3e0c356c3d040d99634fbf5b Mon Sep 17 00:00:00 2001
2
From: jfigus <foleyj@cisco.com>
3
Date: Thu, 26 Feb 2015 12:25:08 -0500
4
Subject: [PATCH] A autoconf checks for libz and libdl when OpenSSL is enabled
5
 to allow for static linking of OpenSSL (via CFLAGS=-static).
6
​
7
[Romain:
8
  Drop the configure part of the patch since Buildroot
9
  use AUTORECONF in libsrtp.mk]
10
​
11
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
12
---
13
 configure.in | 4 ++++
14
 1 file changed, 4 insertions(+)
15
​
16
diff --git a/configure.in b/configure.in
17
index ee30daf..71df46b 100644
18
--- a/configure.in
19
+++ b/configure.in
20
@@ -147,6 +147,10 @@ if test "$enable_openssl" = "yes"; then
21
    LDFLAGS="$LDFLAGS $(pkg-config --libs openssl)";
22
    CFLAGS="$CFLAGS $(pkg-config --cflags openssl)";
23
 
24
+   AC_CHECK_LIB([dl], [dlopen], [],
25
+             [AC_MSG_FAILURE([can't find libdl])])
26
+   AC_CHECK_LIB([z], [inflate], [],
27
+             [AC_MSG_FAILURE([can't find libz])])
28
    AC_CHECK_LIB([crypto], [EVP_EncryptInit], [],
29
              [AC_MSG_FAILURE([can't find openssl >1.0.1 crypto lib])])
30
    AC_CHECK_LIB([crypto], [EVP_aes_128_ctr], [],
31
-- 
32
1.9.3
33
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.