Skip to contentSkip to conversation

package/php: libargon2 needs dynamic library

PATCH New Fabrice Fontaine 2 participants 2 messages Dec 4, 2019 – Dec 5, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/php: libargon2 needs dynamic library

Fixes:
- http://autobuild.buildroot.org/results/72412a68da44d7ecc87656436a17542cafcf1f95

---
 package/php/Config.ext | 4 ++++
 1 file changed, 4 insertions(+)
package/php/Config.ext +4 -0
index d5c723ca39..b3d6088f54 100644
@@ -70,8 +70,12 @@ config BR2_PACKAGE_PHP_EXT_HASH
 	help
 	  HASH message digest framework
 
+comment "libargon2 needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_PHP_EXT_LIBARGON2
 	bool "libargon2"
+	depends on !BR2_STATIC_LIBS # libargon2
 	select BR2_PACKAGE_LIBARGON2
 	help
 	  libargon2 support
Signature · 1 line
2.24.0
#1 lore raw

PATCH 1/1 package/php: libargon2 needs dynamic library

Quoted 13 lines · On Wed, 4 Dec 2019 19:11:41 +0100 Fabrice Fontaine…

Fixes:
- http://autobuild.buildroot.org/results/72412a68da44d7ecc87656436a17542cafcf1f95

---
 package/php/Config.ext | 4 ++++
 1 file changed, 4 insertions(+)
package/php/Config.ext +0 -0
index d5c723ca39..b3d6088f54 100644

package/php/Config.ext config BR2_PACKAGE_PHP_EXT_HASH · line 78

Quoted 9 lines
package/php/Config.ext +4 -0
@@ -70,8 +70,12 @@ config BR2_PACKAGE_PHP_EXT_HASH
 	help
 	  HASH message digest framework
 
+comment "libargon2 needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_PHP_EXT_LIBARGON2
 	bool "libargon2"
+	depends on !BR2_STATIC_LIBS # libargon2

You forgot to propagate the BR2_USE_MMU dependency of libargon2, so I fixed that as well when applying.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com