select BR2_PACKAGE_LIBCAP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       # build system forcefully builds a shared library
+       depends on !BR2_STATIC_LIBS
        # the toolchain doesn't support setns syscall
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
 
          https://linuxcontainers.org/
 
-comment "lxc needs a toolchain w/ threads, headers >= 3.0"
+comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
        depends on BR2_USE_MMU
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
        depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405
        depends on !BR2_TOOLCHAIN_HAS_THREADS \
-               || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+               || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
+               || BR2_STATIC_LIBS