mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-04 10:53:30 +08:00
67cebbdf5f
Fixes: http://autobuild.buildroot.net/results/ab8/ab80094080c18602a2adb266981f53ebe0647f63/ http://autobuild.buildroot.net/results/a77/a770318af841610e0c10f61cf61bdae298aa59a8/ http://autobuild.buildroot.net/results/ce2/ce27f5b81b74320f4d2efbbaa4754c23fb2feeab/ http://autobuild.buildroot.net/results/57f/57f54c6f00953e8b7da70f4467f38cc9dfca2380/ And many more. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libsrtp
|
|
#
|
|
################################################################################
|
|
|
|
LIBSRTP_VERSION = v1.5.0
|
|
LIBSRTP_SITE = $(call github,cisco,libsrtp,$(LIBSRTP_VERSION))
|
|
LIBSRTP_AUTORECONF = YES
|
|
LIBSRTP_INSTALL_STAGING = YES
|
|
LIBSRTP_LICENSE = BSD-3c
|
|
LIBSRTP_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
LIBSRTP_MAKE_OPTS = libsrtp.a
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
LIBSRTP_MAKE_OPTS = shared_library
|
|
else
|
|
LIBSRTP_MAKE_OPTS = libsrtp.a shared_library
|
|
endif
|
|
|
|
# While libsrtp is not using pkg-config itself, it checks if
|
|
# pkg-config is available to determine whether it should install
|
|
# libsrtp.pc. Since installing it seems useful, let's depend on
|
|
# host-pkgconf to make sure pkg-config is installed.
|
|
LIBSRTP_DEPENDENCIES = host-pkgconf
|
|
|
|
# openssl handling needs libdl support
|
|
ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
|
|
LIBSRTP_DEPENDENCIES += openssl
|
|
LIBSRTP_CONF_OPTS += --enable-openssl
|
|
else
|
|
LIBSRTP_CONF_OPTS += --disable-openssl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|