package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config
PATCH 1/1 package/civetweb: fix linking failure due to wrong OpenSSL 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/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/
--- package/civetweb/civetweb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/civetweb/civetweb.mk +1 -1
@@ -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
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config
Quoted 7 lines · On Wed, 10 Apr 2019 12:37:46 +0200 Giulio Benetti…
On commit
027a8b29f1e62d5ff5bbb15b79376614f902a680pkg-config has been added to retrieve OpenSSL dependencies, but it's been passedlibsslinstead ofopenssl, this makes fail some linking. Indeed we need OpenSSL dependency, so let's useopensslwith pkg-config.Substitute
libsslwithopenssl.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/Signed-off-by Giulio Benetti <[email protected]>--- package/civetweb/civetweb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config
In reply to Giulio BenettiQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
On commit
027a8b29f1e62d5ff5bbb15b79376614f902a680pkg-config has been added to retrieve OpenSSL dependencies, but it's been passedlibsslinstead ofopenssl, this makes fail some linking. Indeed we need OpenSSL dependency, so let's useopensslwith pkg-config.
Quoted 6 lines
Substitute
libsslwithopenssl.Fixes:
http://autobuild.buildroot.net/results/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/Signed-off-by Giulio Benetti <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard