]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
motion: fix build on musl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 24 Nov 2017 06:30:14 +0000 (07:30 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Nov 2017 08:37:50 +0000 (09:37 +0100)
commit10f5da59ed7aa6012586e94c0e7c615b2bc09c90
tree352e5d5433531ca6b239cf8da673599386a945c6
parent7acccf5f254562fc09eff19833de926ee2364408
motion: fix build on musl

Some toolchains (musl) have pthread_setname_np but not pthread_getname_np.
The first patch fixes check on pthread_setname_np and the second one add
a check for pthread_getname_np

Fixes:

  http://autobuild.buildroot.net/results/65534775c5977e2424c5f5c63c46f9d0f39d7e1b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/motion/0001-Fix-pthread_setname_np-detection.patch [new file with mode: 0644]
package/motion/0002-Check-for-pthread_getname_np.patch [new file with mode: 0644]