Commit f824d3e2 authored by Francois Perrad's avatar Francois Perrad Committed by Peter Korsgaard
Browse files

botan: fix static build

see http://autobuild.buildroot.net/results/2d1/2d1563e253b669b45c9df449c5b3a750c04a43dc/



this commit reverts the previous commit 84047394
which disables static build in Config.in

the option --no-autoload prevents the use of the function dlopen.

Signed-off-by: default avatarFrancois Perrad <francois.perrad@gadz.org>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 3e044040
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -10,12 +10,11 @@ config BR2_PACKAGE_BOTAN
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
	depends on !BR2_PREFER_STATIC_LIB # dlfcn.h
	help
	  Botan is a crypto library for C++

	  http://botan.randombit.net

comment "botan needs a toolchain w/ C++, threads, dynamic library"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
comment "botan needs a toolchain w/ C++, threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
	depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ BOTAN_CONF_OPTS = \
	--cc-bin="$(TARGET_CXX)"

ifeq ($(BR2_PREFER_STATIC_LIB),y)
	BOTAN_CONF_OPTS += --disable-shared
	BOTAN_CONF_OPTS += --disable-shared --no-autoload
endif

ifeq ($(BR2_PACKAGE_BZIP2),y)