package/crun: link with libatomic if needed

Fixes:
https://autobuild.buildroot.net/results/f4f/f4fb970f8d4f2f7966fcbd542768a607ea7ababf/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c560bb3181)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Bernd Kuhls
2025-11-02 09:44:14 +01:00
committed by Thomas Perale
parent 8ced625be6
commit 04a9e0d8a9

View File

@@ -15,6 +15,10 @@ CRUN_CPE_ID_VALID = YES
CRUN_AUTORECONF = YES
CRUN_CONF_OPTS = --disable-embedded-yajl
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
CRUN_CONF_ENV += LIBS=-latomic
endif
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
CRUN_DEPENDENCIES += argp-standalone
endif