package/clamav: link with libatomic when needed
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 16 Feb 2019 08:19:05 +0000 (09:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 24 Feb 2019 20:37:28 +0000 (21:37 +0100)
commit50610dccfaa7badd4a995693107280de07bfe742
tree32cd25099be59d5eedc4bb33f2c6bd6b73c08e2d
parenta7bcd202d7e04f7a68e9167bc309dcc2716378fc
package/clamav: link with libatomic when needed

Configure check for OpenSSL fails:

/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-3/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_atomic_add':
threads_pthread.c:(.text+0x1dc): undefined reference to `__atomic_is_lock_free'
threads_pthread.c:(.text+0x1f4): undefined reference to `__atomic_fetch_add_4'

Fixes
http://autobuild.buildroot.net/results/cae8da81adff3ba493154e0ba8b21d90367f82eb/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/clamav/clamav.mk