86e09b6ed1
- libnss is an optional dependency since version 2.3.0 and
a946b3f561
- Drop comment about pkg-config as libsrtp uses PKG_CHECK_MODULES to
find libnss and openssl
- Update indentation in hash file (two spaces)
https://github.com/cisco/libsrtp/blob/v2.4.1/CHANGES
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
36 lines
999 B
Makefile
36 lines
999 B
Makefile
################################################################################
|
|
#
|
|
# libsrtp
|
|
#
|
|
################################################################################
|
|
|
|
LIBSRTP_VERSION = 2.4.1
|
|
LIBSRTP_SITE = $(call github,cisco,libsrtp,v$(LIBSRTP_VERSION))
|
|
LIBSRTP_INSTALL_STAGING = YES
|
|
LIBSRTP_LICENSE = BSD-3-Clause
|
|
LIBSRTP_LICENSE_FILES = LICENSE
|
|
LIBSRTP_CPE_ID_VENDOR = cisco
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
LIBSRTP_MAKE_OPTS = libsrtp2.a
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
LIBSRTP_MAKE_OPTS = shared_library
|
|
else
|
|
LIBSRTP_MAKE_OPTS = libsrtp2.a shared_library
|
|
endif
|
|
|
|
LIBSRTP_DEPENDENCIES = host-pkgconf
|
|
|
|
# openssl handling needs libdl support
|
|
ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
|
|
LIBSRTP_DEPENDENCIES += openssl
|
|
LIBSRTP_CONF_OPTS += --disable-nss --enable-openssl
|
|
else ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
|
LIBSRTP_DEPENDENCIES += libnss
|
|
LIBSRTP_CONF_OPTS += --enable-nss --disable-openssl
|
|
else
|
|
LIBSRTP_CONF_OPTS += --disable-nss --disable-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|