python3-cryptography: Add -pthread to link flags

It builds openssl module which needs pthread_atfork()
but we do not link it with libpthread, which results
in runtime loading errors

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2018-03-01 18:04:43 -08:00
committed by Armin Kuster
parent 6d2624125f
commit 49ecf6f65d

View File

@@ -1,6 +1,8 @@
inherit pypi setuptools3
require python-cryptography.inc
LDSHARED += "-pthread"
SRC_URI += " \
file://run-ptest \
"