package/daq3: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 27 Jul 2021 08:01:15 +0000 (10:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 28 Jul 2021 19:14:57 +0000 (21:14 +0200)
daq3 depends on threads since its addition in commit
6e75a990ae35580800f24f3ddc4573c6bc38fa05

Fixes:
 - http://autobuild.buildroot.org/results/b56defe97c0bd56d9a887beeb183ed9bb660b72a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/daq3/Config.in
package/snort3/Config.in

index ad7d55db5b1eb5702eb3706380398d39191995ed..b53e5508fd86f02b6b3fbcacde2456298bd59b5e 100644 (file)
@@ -3,12 +3,14 @@ config BR2_PACKAGE_DAQ3
        depends on !BR2_PACKAGE_DAQ
        depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          DAQ is a Data Acquisition library for packet I/O from the
          Snort project.
 
          https://www.snort.org
 
-comment "daq3 needs a toolchain w/ dynamic library, gcc >= 4.9"
+comment "daq3 needs a toolchain w/ dynamic library, gcc >= 4.9, threads"
        depends on !BR2_PACKAGE_DAQ
-       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
+               || !BR2_TOOLCHAIN_HAS_THREADS
index 75923c3c209daa41e9110f42dc1b787b14775ab5..dcc29b820a55f309b4e81cdab05e33c2bd421369 100644 (file)
@@ -6,7 +6,7 @@ config BR2_PACKAGE_SNORT3
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS # daq3
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
-       depends on BR2_TOOLCHAIN_HAS_THREADS # hwloc
+       depends on BR2_TOOLCHAIN_HAS_THREADS # daq3, hwloc
        depends on BR2_USE_WCHAR
        select BR2_PACKAGE_DAQ3
        select BR2_PACKAGE_FLEX