gconf: add dependency on toolchain w/ dynamic lib
authorJoseph Kogut <joseph.kogut@gmail.com>
Mon, 22 Jan 2018 06:11:21 +0000 (22:11 -0800)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 4 Feb 2018 09:57:01 +0000 (10:57 +0100)
GConf fails to build when BR2_STATIC_LIBS=y.

Fixes:
    http://autobuild.buildroot.net/results/ad8a9b082006f0334010c9c4dc5a90c2071df121/

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gconf/Config.in

index a68287525b59b4ae58b72cd0f3ba7bb53008700e..a967d61644f7f8711898dd5204d65f6616da35ad 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_GCONF
        depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
        depends on BR2_USE_MMU # dbus, libglib2
        depends on BR2_USE_WCHAR # libglib2
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_DBUS
        select BR2_PACKAGE_DBUS_GLIB
        select BR2_PACKAGE_LIBGLIB2
@@ -14,6 +15,7 @@ config BR2_PACKAGE_GCONF
 
          https://projects.gnome.org/gconf/
 
-comment "gconf needs a toolchain w/ threads, wchar"
+comment "gconf needs a toolchain w/ threads, wchar, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR \
+               || BR2_STATIC_LIBS