package/php: properly propagate libargon2 dependencies
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 4 Dec 2019 18:11:41 +0000 (19:11 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Dec 2019 21:28:01 +0000 (22:28 +0100)
Fixes:
 - http://autobuild.buildroot.org/results/72412a68da44d7ecc87656436a17542cafcf1f95

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

index d5c723ca396d1ab690221b203c26601292c541da..6a9634391c533e8bafd237c997419aae1be9b9c4 100644 (file)
@@ -70,8 +70,14 @@ config BR2_PACKAGE_PHP_EXT_HASH
        help
          HASH message digest framework
 
+comment "libargon2 needs a toolchain w/ dynamic library"
+       depends on BR2_USE_MMU
+       depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_PHP_EXT_LIBARGON2
        bool "libargon2"
+       depends on BR2_USE_MMU # libargon2
+       depends on !BR2_STATIC_LIBS # libargon2
        select BR2_PACKAGE_LIBARGON2
        help
          libargon2 support