package/civetweb: fix link failure due to missing OpenSSL dependency
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Tue, 9 Apr 2019 21:10:32 +0000 (23:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 9 Apr 2019 21:26:21 +0000 (23:26 +0200)
commit027a8b29f1e62d5ff5bbb15b79376614f902a680
treed2ce432cf7bb82387c82cfc9eb5e8e8d55ab0f89
parent73c04d9448f9172eb2174ed3c891ac2953eff6d5
package/civetweb: fix link failure due to missing OpenSSL dependency

During linking one OpenSSL dependecy is missing(-latomic) on linking
library list.

- Substitute explicit library list with `pkg-config libssl` when
  BR2_PACKAGE_OPENSSL is enabled. In such way all needed libraries
  will be included in linking list.

- Add also `host-pkgconf` to CIVETWEB_DEPENDENCIES if
  BR2_PACKAGE_OPENSSL is enabled to make it available for previous
  point.

Fixes:

  http://autobuild.buildroot.net/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/civetweb/civetweb.mk