Browse Source

libs/libsodium: add LIBSODIUM_MINIMAL

lilik-openwrt-22.03
Moritz Warning 10 years ago
parent
commit
5948b0a632
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      libs/libsodium/Makefile

+ 11
- 1
libs/libsodium/Makefile View File

@ -43,7 +43,17 @@ define Package/libsodium/description
And despite the emphasis on higher security, primitives are faster across-the-board than most implementations of the NIST standards. And despite the emphasis on higher security, primitives are faster across-the-board than most implementations of the NIST standards.
endef endef
CONFIGURE_ARGS += --disable-ssp
define Package/libsodium/config
menu "Configuration"
config LIBSODIUM_MINIMAL
bool "Create a smaller library"
default n
endmenu
endef
CONFIGURE_ARGS+= \
--disable-ssp \
$(if $(CONFIG_LIBSODIUM_MINIMAL),--enable-minimal=yes,--enable-minimal=no)
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/sodium $(INSTALL_DIR) $(1)/usr/include/sodium


Loading…
Cancel
Save