Skip to contentSkip to conversation

package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config

PATCH New Giulio Benetti 3 participants 3 messages Apr 10, 2019 – Apr 14, 2019

lore
Share & tools
lore
#0 lore raw

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
index 80272738e4..1652239ebb 100644
@@ -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
#1 lore raw

PATCH 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 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.

Quoted 7 lines

Fixes:
http://autobuild.buildroot.net/results/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/

---
 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
#2 lore raw

PATCH 1/1 package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config

In reply to Giulio Benetti
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

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.

Quoted 6 lines

Substitute libssl with openssl.

Fixes:
http://autobuild.buildroot.net/results/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard