mongrel2: uses dlopen(), needs dynamic library support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Nov 2015 15:05:21 +0000 (16:05 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Nov 2015 15:05:21 +0000 (16:05 +0100)
Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mongrel2/Config.in

index 1afba77151b04ef53ea25378f1fdbf3aaa88f12b..1c7b4950b70b341dd10286f5a9016375264ed9d6 100644 (file)
@@ -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 || \