• 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/libssh2.mk
Baruch SiachBaruch Siach committed 908960d98ff28 Jul 2017
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# libssh2
4
#
5
################################################################################
6
​
7
LIBSSH2_VERSION = 1.8.0
8
LIBSSH2_SITE = http://www.libssh2.org/download
9
LIBSSH2_LICENSE = BSD
10
LIBSSH2_LICENSE_FILES = COPYING
11
LIBSSH2_INSTALL_STAGING = YES
12
LIBSSH2_CONF_OPTS = --disable-examples-build
13
​
14
# Dependency is one of mbedtls, libgcrypt or openssl, guaranteed in
15
# Config.in. Favour mbedtls.
16
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
17
LIBSSH2_DEPENDENCIES += mbedtls
18
LIBSSH2_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr \
19
    --without-openssl --without-libgcrypt
20
LIBSSH2_CONF_ENV += ac_cv_libgcrypt=no
21
else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
22
LIBSSH2_DEPENDENCIES += libgcrypt
23
LIBSSH2_CONF_OPTS += --with-libgcrypt=$(STAGING_DIR)/usr \
24
    --without-openssl --without-mbedtls
25
# configure.ac forgets to link to dependent libraries of gcrypt breaking static
26
# linking
27
LIBSSH2_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/libgcrypt-config --libs`"
28
else
29
LIBSSH2_DEPENDENCIES += openssl
30
LIBSSH2_CONF_OPTS += --with-openssl \
31
    --with-libssl-prefix=$(STAGING_DIR)/usr \
32
    --without-libgcrypt --without-mbedtls
33
endif
34
​
35
# Add zlib support if enabled
36
ifeq ($(BR2_PACKAGE_ZLIB),y)
37
LIBSSH2_DEPENDENCIES += zlib
38
LIBSSH2_CONF_OPTS += --with-libz \
39
    --with-libz-prefix=$(STAGING_DIR)/usr
40
else
41
LIBSSH2_CONF_OPTS += --without-libz
42
endif
43
​
44
$(eval $(autotools-package))
  • 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.