package/exiv2: fix pthread detection
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 4 Jun 2017 08:27:14 +0000 (10:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 5 Jun 2017 09:51:56 +0000 (11:51 +0200)
commit04f08a43dd14250fa61837c75ccb0adb54fa5a7c
treefccb5e324a9dd3e0281f22e4459a34416776ce80
parent1fe1698d6e77cf451cb082b836138fdb648cdc44
package/exiv2: fix pthread detection

This commit fixes an error during configure:

-- Check if compiler accepts -pthread
CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the
 following cache variables appropriately:
   THREADS_PTHREAD_ARG (advanced)

Patch ported from librtlsdr:
https://git.busybox.net/buildroot/commit/?id=4c6eace6f756d15ae9639a503c9245d1e7fb12a9

Fixes
http://autobuild.buildroot.net/results/0f9/0f985993a0c0076f027cfe25bb13d6b85c644c0d/

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