ofono: needs dynamic library support
authorBaruch Siach <baruch@tkos.co.il>
Sat, 6 Jun 2015 20:27:41 +0000 (23:27 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 7 Jun 2015 21:58:49 +0000 (23:58 +0200)
The only package selection ofono, connman, requires dynamic library already.

Fixes:
http://autobuild.buildroot.net/results/c5b/c5bb44c192c076b42538f805062a465318051df4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ofono/Config.in

index eb1856fdb794a82954eed98b83188b3ab4bfc317..f709b04180d45ebb30ee17525b431df40b9dd03f 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_OFONO
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 # libcap-ng
+       depends on !BR2_STATIC_LIBS # dlopen()
        select BR2_PACKAGE_LIBCAP_NG
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_LIBGLIB2
@@ -15,7 +16,7 @@ config BR2_PACKAGE_OFONO
 
          http://ofono.org/
 
-comment "ofono needs a toolchain w/ wchar, threads"
+comment "ofono needs a toolchain w/ dynamic library, wchar, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405