aboutsummaryrefslogtreecommitdiff
path: root/package/beecrypt/beecrypt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/beecrypt/beecrypt.mk')
-rw-r--r--package/beecrypt/beecrypt.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk
index 10dd97c814..f13f72c8ac 100644
--- a/package/beecrypt/beecrypt.mk
+++ b/package/beecrypt/beecrypt.mk
@@ -15,7 +15,8 @@ BEECRYPT_CONF_OPTS = \
--disable-expert-mode \
--without-java \
--without-python \
- --disable-openmp
+ --disable-openmp \
+ --without-cplusplus
# disable optimized m68k assembly as it doesn't compile for coldfire
ifeq ($(BR2_m68k_cf),y)
@@ -27,19 +28,11 @@ ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:)
BEECRYPT_CONF_OPTS += --enable-debug
endif
-ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
-BEECRYPT_DEPENDENCIES += icu
-BEECRYPT_CONF_OPTS += --with-cplusplus
-else
-BEECRYPT_CONF_OPTS += --without-cplusplus
-
# automake/libtool uses the C++ compiler to link libbeecrypt because of
# (the optional) cppglue.cxx. Force it to use the C compiler instead.
define BEECRYPT_LINK_WITH_CC
$(SED) 's/--tag=CXX/--tag=CC/g' $(@D)/Makefile
endef
-
BEECRYPT_POST_CONFIGURE_HOOKS += BEECRYPT_LINK_WITH_CC
-endif
$(eval $(autotools-package))