Browse Source

package/opensc: propagate dependencies from pcsc-lite

Commit d590003e31dd (package/pcsc-lite: needs gcc >= 4.9) propagated
that new dependency to a bunch of packages that select pcsc-lite.

Then commit 8aaa7ecbce1d (package/opensc: new package) introduced
opensc, which selects pcsc-lite. However, the package was submitted
before the dependency to gcc 4.8+ was added to pcsc-lite, and that was
missed during the review.

Add it now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 071fdbf963228590b453e5111eadc8a74b579aa2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN 2 years ago
parent
commit
bd26055b43
1 changed files with 4 additions and 2 deletions
  1. 4 2
      package/opensc/Config.in

+ 4 - 2
package/opensc/Config.in

@@ -3,6 +3,7 @@ config BR2_PACKAGE_OPENSC
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite
 	select BR2_PACKAGE_PCSC_LITE
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
@@ -13,6 +14,7 @@ config BR2_PACKAGE_OPENSC
 
 	  https://github.com/OpenSC/OpenSC/wiki
 
-comment "opensc needs a toolchain with dynamic library, threads"
+comment "opensc needs a toolchain with dynamic library, threads, gcc >= 4.9"
 	depends on BR2_USE_MMU
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9