poppler: link with libatomic when needed
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 28 May 2018 18:19:53 +0000 (20:19 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 28 May 2018 18:23:18 +0000 (20:23 +0200)
commitd28591a2ee39704f6795c8aa1d0a3db7e909facc
tree79062427d42c6c2dea673e5465ca237050665f5d
parent299bdf6df83bfb8a960963bb2e7d7bf8f99d47f0
poppler: link with libatomic when needed

Following errors might occur on architectures required to use gcc libatomics:
sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often the case for sparcv8 32 bit toolchains.

See 55a9d6d55888b04ec6c476399e5b98a2412995f5 and 03f6e005e6a9617767b24a9026da9477848020cc.

Fixes:
  http://autobuild.buildroot.net/results/64a96663a48ab644bc03c9a3ec2d6a644119dee6
  http://autobuild.buildroot.net/results/82e85e12478fc1972b70ad728ed7c1554920c9e3

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/poppler/poppler.mk