vsftpd: use pkg-config to get OpenSSL link flags
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 12 May 2015 21:07:04 +0000 (23:07 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 May 2015 08:02:58 +0000 (10:02 +0200)
commit1d046a5c3d9c92a3b7a69e7474b05cc9e52ffce5
tree5d5fbf27fab7ddf02ab5515fab707aa3843a0cb4
parent95f9a5c3df8e4226b99438efccf0bf21eecb573d
vsftpd: use pkg-config to get OpenSSL link flags

Instead of hardcoding -lssl -lcrypto as the linker flags to link with
OpenSSL, use pkg-config to fetch those flags. This allows to behave
properly when doing static linking, since pkg-config returns the
entire set of libraries we should link against.

Fixes:

  http://autobuild.buildroot.org/results/d71/d710ecfa9ed0a8e3f97d2010d3dabb372485c7f2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vsftpd/vsftpd.mk