浏览代码

package/php: properly propagate libargon2 dependencies

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>
Fabrice Fontaine 5 年之前
父节点
当前提交
ba34e47004
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      package/php/Config.ext

+ 6 - 0
package/php/Config.ext

@@ -70,8 +70,14 @@ config BR2_PACKAGE_PHP_EXT_HASH
 	help
 	help
 	  HASH message digest framework
 	  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
 config BR2_PACKAGE_PHP_EXT_LIBARGON2
 	bool "libargon2"
 	bool "libargon2"
+	depends on BR2_USE_MMU # libargon2
+	depends on !BR2_STATIC_LIBS # libargon2
 	select BR2_PACKAGE_LIBARGON2
 	select BR2_PACKAGE_LIBARGON2
 	help
 	help
 	  libargon2 support
 	  libargon2 support