cd00a9d9eb
Fixes autobuild error http://autobuild.buildroot.net/results/cc1a65b9554bc2ece1b3ea8b51cd805b9bda7e86/ Adding libintl to the libraries list for cryptsetup when using a uclibc toolchain and locale support is enabled. Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
21 lines
765 B
Makefile
21 lines
765 B
Makefile
################################################################################
|
|
#
|
|
# cryptsetup
|
|
#
|
|
################################################################################
|
|
|
|
CRYPTSETUP_VERSION = 1.6.2
|
|
CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.bz2
|
|
CRYPTSETUP_SITE = http://cryptsetup.googlecode.com/files
|
|
CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
|
CRYPTSETUP_DEPENDENCIES = lvm2 popt e2fsprogs libgcrypt host-pkgconf \
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
|
CRYPTSETUP_LICENSE = GPLv2+ (programs), LGPLv2.1+ (library)
|
|
CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|