2015-05-19 14:01:10 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libsodium
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-15 15:53:56 +02:00
|
|
|
LIBSODIUM_VERSION = 1.0.18
|
|
|
|
LIBSODIUM_SITE = https://download.libsodium.org/libsodium/releases
|
2015-05-19 14:01:10 +02:00
|
|
|
LIBSODIUM_LICENSE = ISC
|
|
|
|
LIBSODIUM_LICENSE_FILES = LICENSE
|
|
|
|
LIBSODIUM_INSTALL_STAGING = YES
|
|
|
|
|
2016-07-11 16:35:14 +02:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
2015-08-10 13:24:50 +02:00
|
|
|
LIBSODIUM_CONF_OPTS += --disable-pie
|
|
|
|
endif
|
|
|
|
|
2019-09-30 17:34:16 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSODIUM_FULL),y)
|
|
|
|
LIBSODIUM_CONF_OPTS += --disable-minimal
|
|
|
|
else
|
|
|
|
LIBSODIUM_CONF_OPTS += --enable-minimal
|
|
|
|
endif
|
|
|
|
|
2015-05-19 14:01:10 +02:00
|
|
|
$(eval $(autotools-package))
|
2016-06-12 23:11:31 +02:00
|
|
|
$(eval $(host-autotools-package))
|