package/rsync: link with -latomic if needed

Fixes:
http://autobuild.buildroot.net/results/9eb9a92871622472b8f9eb3797aadd3651fc78a4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023.02.x
Bernd Kuhls 2023-03-12 10:32:49 +01:00 committed by Peter Korsgaard
parent 9f388f0b4c
commit b9a062b354
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ RSYNC_CONF_OPTS = \
--disable-roll-simd \
--disable-md5-asm
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
RSYNC_CONF_ENV += LIBS=-latomic
endif
ifeq ($(BR2_PACKAGE_ACL),y)
RSYNC_DEPENDENCIES += acl
else