package/gauche: fix build error on BR2_STATIC_LIBS
authorkei-k@ca2.so-net.ne.jp <kei-k@ca2.so-net.ne.jp>
Wed, 18 Nov 2015 09:30:23 +0000 (18:30 +0900)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 18 Nov 2015 20:56:58 +0000 (21:56 +0100)
Building gauche depends on dynamic link, so add dependency on
!BR2_STATIC_LIBS.

Fix:
http://autobuild.buildroot.org/results/da5/da5b9605552d4914c5e6f0d890367b92536419c1

Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gauche/Config.in

index 54a0be243f6997f2e5438b7da8220f75e46c5b8d..fd0617acc6f9f1760ef413e1ed7727e2ecb54e32 100644 (file)
@@ -13,6 +13,7 @@ config BR2_PACKAGE_GAUCHE
        depends on BR2_USE_MMU # fork()
        depends on BR2_ARCH_HAS_ATOMICS
        depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
+       depends on !BR2_STATIC_LIBS
        help
          Gauche is an R7RS Scheme implementation developed to be a
          handy script interpreter, which allows programmers and
@@ -23,8 +24,8 @@ config BR2_PACKAGE_GAUCHE
 
          http://practical-scheme.net/gauche/
 
-comment "gauche needs a toolchain w/ NPTL"
+comment "gauche needs a toolchain w/ NPTL, dynamic library"
        depends on BR2_USE_MMU
        depends on BR2_ARCH_HAS_ATOMICS
        depends on BR2_PACKAGE_GAUCHE_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS