Kaynağa Gözat

mongrel2: uses dlopen(), needs dynamic library support

Fixes:

  http://autobuild.buildroot.net/results/c5e/c5ecfe4a5ad3712d65293de517a24e76c4376c57/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 9 yıl önce
ebeveyn
işleme
54fde89493
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      package/mongrel2/Config.in

+ 4 - 2
package/mongrel2/Config.in

@@ -1,9 +1,10 @@
-comment "mongrel2 needs a toolchain w/ C++, threads, wchar"
+comment "mongrel2 needs a toolchain w/ C++, threads, wchar, dynamic library"
 	depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
 		BR2_TOOLCHAIN_USES_GLIBC || \
 		BR2_arm
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
+		BR2_STATIC_LIBS
 
 config BR2_PACKAGE_MONGREL2
 	bool "mongrel2"
@@ -12,6 +13,7 @@ config BR2_PACKAGE_MONGREL2
 	depends on BR2_INSTALL_LIBSTDCPP # zeromq
 	depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
 	depends on BR2_USE_WCHAR # zeromq -> util-linux
+	depends on !BR2_STATIC_LIBS # uses dlopen()
 	# {get,make,swap}context functions present in
 	# {e,}glibc and in uClibc's master branch. Source has arm workaround
 	depends on BR2_UCLIBC_VERSION_SNAPSHOT || \