Browse Source

cryptsetup: fix compilation with full NLS

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
87a4eeb8de
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      utils/cryptsetup/Makefile

+ 2
- 4
utils/cryptsetup/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cryptsetup PKG_NAME:=cryptsetup
PKG_VERSION:=2.3.4 PKG_VERSION:=2.3.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/cryptsetup/v2.3 PKG_SOURCE_URL:=@KERNEL/linux/utils/cryptsetup/v2.3
@ -30,7 +30,7 @@ define Package/cryptsetup
CATEGORY:=Utilities CATEGORY:=Utilities
SUBMENU:=Encryption SUBMENU:=Encryption
TITLE:=Cryptsetup TITLE:=Cryptsetup
DEPENDS:=$(ICONV_DEPENDS) +libblkid +libuuid +libpopt +lvm2 +libdevmapper +libjson-c +@KERNEL_DIRECT_IO +kmod-crypto-user
DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS) +libblkid +libuuid +libpopt +lvm2 +libdevmapper +libjson-c +@KERNEL_DIRECT_IO +kmod-crypto-user
URL:=https://gitlab.com/cryptsetup/cryptsetup/ URL:=https://gitlab.com/cryptsetup/cryptsetup/
endef endef
@ -49,8 +49,6 @@ CONFIGURE_ARGS += \
--with-luks2-lock-path=/var/run/cryptsetup \ --with-luks2-lock-path=/var/run/cryptsetup \
--with-crypto_backend=kernel --with-crypto_backend=kernel
TARGET_LDFLAGS += -liconv
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libcryptsetup.h $(1)/usr/include $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libcryptsetup.h $(1)/usr/include


Loading…
Cancel
Save