[Buildroot] [PATCH v2] package/proftpd: prevent openssl pthread detection

Peter Korsgaard peter at korsgaard.com
Fri Feb 22 13:15:09 UTC 2019


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 > On 21/02/2019 21:52, Matt Weber wrote:
 >> Openssl cmdline executable can be used as a config test which
 >> results in either the host-openssl or host system's openssl
 >> being used to detect the linking with -pthread. This is an
 >> issue as a system maybe building with a toolchain without
 >> thread support. (To review the detection logic, see proftpd
 >> configure.in and search for pr_use_pthread_for_openssl)

 >  I noticed a potential issue: now pthread never gets linked in, even if openssl
 > is built with thread support and when linking statically.

 >  However, it turns out that that is not a problem because openssl (at least in
 > the version we use) doesn't pull in its thread support automatically.

 >  So, I completely rewrote the commit message and applied to master, thanks.

Committed to 2018.02.x and 2018.11.x, thanks.

I did a test build on 2018.02.x to verify.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list