aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Giulio Benetti <giulio.benetti@micronovasrl.com>2019-04-10 12:37:46 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-04-10 13:42:33 +0200
commite38641851a1bc334e6fb0a019ccf3af91098182f (patch)
tree8875dd0fed024a25443a7f5c26a865c0be3db189
parentd8ba5343e6d900b2e7c173996d984f8324b39b75 (diff)
downloadbuildroot-e38641851a1bc334e6fb0a019ccf3af91098182f.tar.gz
buildroot-e38641851a1bc334e6fb0a019ccf3af91098182f.tar.bz2
package/civetweb: fix linking failure caused by wrong argument passed to pkg-config
On commit 027a8b29f1e62d5ff5bbb15b79376614f902a680 pkg-config has been added to retrieve OpenSSL dependencies, but it's been passed `libssl` instead of `openssl`, this makes fail some linking. Indeed we need OpenSSL dependency, so let's use `openssl` with pkg-config. Substitute `libssl` with `openssl`. Fixes: http://autobuild.buildroot.net/results/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/ Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/civetweb/civetweb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index 80272738e4..1652239ebb 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -32,7 +32,7 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
CIVETWEB_COPT += -DNO_SSL_DL
-CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl`
+CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
CIVETWEB_DEPENDENCIES += openssl host-pkgconf
else
CIVETWEB_COPT += -DNO_SSL