runc: depends on CGO linking being supported
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 6 Jul 2016 08:34:30 +0000 (09:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 6 Jul 2016 19:23:37 +0000 (21:23 +0200)
Fixes:

  http://autobuild.buildroot.net/results/35d72aac0b0cc0ac92bf309d1a957d7903b1411a/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/runc/Config.in

index 1802e5944c80e4c687672528fc7c6b2f9022e902..fd5dee7c5b029272027ea488f56a610b02328ac0 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_RUNC
        bool "runc"
        depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+       depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          runC is a CLI tool for spawning and running containers
@@ -9,5 +10,6 @@ config BR2_PACKAGE_RUNC
          https://github.com/opencontainers/runc
 
 comment "runc needs a toolchain w/ threads"
-       depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS
+       depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \
+               BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS
        depends on !BR2_TOOLCHAIN_HAS_THREADS