Skip to contentSkip to conversation

package/civetweb: fix static build with openssl

PATCH New Fabrice Fontaine 3 participants 4 messages Apr 7, 2019 – Apr 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/civetweb: fix static build with openssl

Use pkg-config to retrieve openssl dependencies such as atomic

Fixes:
- http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c

---
 package/civetweb/civetweb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/civetweb/civetweb.mk +2 -2
index fe1cdd5675..94e8f10e26 100644
@@ -32,8 +32,8 @@ endif
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 CIVETWEB_COPT += -DNO_SSL_DL
-CIVETWEB_LIBS += -lssl -lcrypto -lz
-CIVETWEB_DEPENDENCIES += openssl
+CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`
+CIVETWEB_DEPENDENCIES += host-pkgconf openssl
 else
 CIVETWEB_COPT += -DNO_SSL
 endif
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/civetweb: fix static build with openssl

Quoted 9 lines · On Sun, 7 Apr 2019 18:32:31 +0200 Fabrice Fontaine…

Use pkg-config to retrieve openssl dependencies such as atomic

Fixes:
- http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c

---
 package/civetweb/civetweb.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Gaah, sorry, I'm only seeing this patch now, and in the mean time, I have merged a similar patch from Giulio. Sorry about that :-/

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 static build with openssl

Il 10/04/2019 19:11, Thomas Petazzoni ha scritto:

Quoted 8 lines
Quoted 5 lines · On Sun, 7 Apr 2019 18:32:31 +0200 Fabrice Fontaine…

Use pkg-config to retrieve openssl dependencies such as atomic

Fixes:
- http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c

Quoted 7 lines
Quoted 4 lines
---
  package/civetweb/civetweb.mk | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Gaah, sorry, I'm only seeing this patch now, and in the mean time, I have merged a similar patch from Giulio. Sorry about that :-/

I was sure to have checked patchwork before submitting. I'm sorry too Fabrice.

Signature · 10 lines
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
#3 lore raw

PATCH 1/1 package/civetweb: fix static build with openssl

Hello Giulio and Thomas,

Le mer. 10 avr. 2019 ? 19:21, Giulio Benetti
<[email protected]> a ?crit :

Quoted 15 lines

Il 10/04/2019 19:11, Thomas Petazzoni ha scritto:

Quoted 13 lines
Quoted 9 lines · On Sun, 7 Apr 2019 18:32:31 +0200 Fabrice Fontaine…

Use pkg-config to retrieve openssl dependencies such as atomic

Fixes:
- http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c

---
  package/civetweb/civetweb.mk | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 5 lines
Quoted 2 lines

Gaah, sorry, I'm only seeing this patch now, and in the mean time, I have merged a similar patch from Giulio. Sorry about that :-/

I was sure to have checked patchwork before submitting. I'm sorry too Fabrice.

It's ok :-)

Quoted 5 lines

--
Giulio Benetti
CTO

Quoted 7 lines

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

Best Regards,

Fabrice