package/libargon2: enable static-only build
PATCH 1/1 package/libargon2: enable static-only build
Signed-off-by Andreas Mohr <[email protected]>
--- package/libargon2/Config.in | 5 ----- package/libargon2/libargon2.mk | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-)
package/libargon2/Config.in +0 -5
@@ -1,12 +1,7 @@ config BR2_PACKAGE_LIBARGON2 bool "libargon2" depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS help A modern password hashing algorithm https://password-hashing.net/#argon2 - -comment "libargon needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS
package/libargon2/libargon2.mk +4 -0
@@ -23,6 +23,10 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) LIBARGON2_OPTS += NO_THREADS=1 endif +ifeq ($(BR2_STATIC_LIBS),y) +LIBARGON2_OPTS += LIB_SH= LINKED_LIB_SH= +endif + define LIBARGON2_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ $(LIBARGON2_OPTS)
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot