fio: disable for static build
authorBaruch Siach <baruch@tkos.co.il>
Tue, 26 May 2015 10:21:33 +0000 (13:21 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 26 May 2015 21:56:43 +0000 (23:56 +0200)
Fixes:
http://autobuild.buildroot.net/results/275/275dc359d72513fd567b7ccbbd4061dffd8a5266/
http://autobuild.buildroot.net/results/5e8/5e8cc28da6a17dcb142eb6d8a8cada735b211e2e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fio/Config.in

index 75af6a79068fef28b3d6c804a11fb975305960de..b1f90456e10d9eff7676c6696060994b5469ed6b 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_FIO
        bool "fio"
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        # fio uses posix_madvise(), which is not part of any official
        # release of uClibc, but is part of uClibc Git, and backported
@@ -17,7 +18,7 @@ config BR2_PACKAGE_FIO
 
          http://git.kernel.dk/?p=fio.git;a=summary
 
-comment "fio needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "fio needs a toolchain w/ dynamic library, threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
        depends on !BR2_nios2
        depends on BR2_USE_MMU