• 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/libssh2/0002-acinclude.m4-add-mbedtls-to-LIBS.patch
Baruch SiachBaruch Siach committed ebbf874624320 Mar 2018
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From f4846473f0f0ec313f8ed7ff4cd9f59c1741465d Mon Sep 17 00:00:00 2001
2
From: Baruch Siach <baruch@tkos.co.il>
3
Date: Tue, 20 Mar 2018 20:21:53 +0200
4
Subject: [PATCH] acinclude.m4: add mbedtls to LIBS
5
​
6
This is useful for static builds so that the Libs.private field in
7
libssh2.pc contains correct info for the benefit of pkg-config users.
8
Static link with libssh2 requires this information.
9
​
10
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
11
---
12
Upstream status: https://github.com/libssh2/libssh2/pull/242
13
​
14
 acinclude.m4 | 1 +
15
 1 file changed, 1 insertion(+)
16
​
17
diff --git a/acinclude.m4 b/acinclude.m4
18
index c0e89a1a0c98..02c70845d27c 100644
19
--- a/acinclude.m4
20
+++ b/acinclude.m4
21
@@ -441,6 +441,7 @@ m4_case([$1],
22
 [mbedtls], [
23
   LIBSSH2_LIB_HAVE_LINKFLAGS([mbedcrypto], [], [#include <mbedtls/version.h>], [
24
     AC_DEFINE(LIBSSH2_MBEDTLS, 1, [Use $1])
25
+    LIBS="$LIBS $LIBMBEDCRYPTO"
26
     found_crypto="$1"
27
     support_clear_memory=yes
28
   ])
29
-- 
30
2.16.2
31
​
  • 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.