rpm: needs threads support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 4 Jul 2012 01:47:14 +0000 (01:47 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 4 Jul 2012 12:53:35 +0000 (14:53 +0200)
Because beecrypt needs threads rpm does too since it's a mandatory
dependency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/rpm/Config.in

index a80a5a7975c6fcd06c6716048c456576f32b6dac..14072c95f9cefe372ccfb390eef1afb08d832bf2 100644 (file)
@@ -1,8 +1,12 @@
+comment "rpm requires a toolchain with thread support"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 comment "rpm requires libneon with SSL, XML and ZLIB support"
-       depends on !BR2_PACKAGE_NEON || BR2_PACKAGE_NEON_NOXML
+       depends on !BR2_PACKAGE_NEON || BR2_PACKAGE_NEON_NOXML && BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_RPM
        bool "rpm"
+       depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
        select BR2_PACKAGE_BEECRYPT
        select BR2_PACKAGE_POPT
        select BR2_PACKAGE_OPENSSL