package/libcpprestsdk: link with libatomic when needed
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 15 Feb 2019 21:33:15 +0000 (22:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 24 Feb 2019 21:05:18 +0000 (22:05 +0100)
commitcd70bde797a3580b27566b302d601ddd7459e910
treea04d976321b7d6087cdb44b68c1cd089823bf251
parentf88bf61b2934c00aeff12346c2d7dc45b9ab9cda
package/libcpprestsdk: link with libatomic when needed

On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

Fixes:
 - http://autobuild.buildroot.org/results/983537ceb38add50ca0a2316f39a2964db1b83c5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libcpprestsdk/libcpprestsdk.mk