package/log4cplus: link with libatomic when needed
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 17 Feb 2019 09:33:26 +0000 (10:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 17 Feb 2019 15:00:00 +0000 (16:00 +0100)
commita2fee08208b28aa53268721b675172052d26f335
tree0fd0fe588367a0990acf7934a9e187b37689ce80
parent85b3d8006be61ba9540cbd684c6d961544e35366
package/log4cplus: 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/16e360cb91afff7655f459a3d1fb906ca48f8464

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