* [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl
@ 2019-04-07 16:32 Fabrice Fontaine
2019-04-10 17:11 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-04-07 16:32 UTC (permalink / raw)
To: buildroot
Use pkg-config to retrieve openssl dependencies such as atomic
Fixes:
- http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/civetweb/civetweb.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk
index fe1cdd5675..94e8f10e26 100644
--- a/package/civetweb/civetweb.mk
+++ b/package/civetweb/civetweb.mk
@@ -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
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl
2019-04-07 16:32 [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl Fabrice Fontaine
@ 2019-04-10 17:11 ` Thomas Petazzoni
2019-04-10 17:21 ` Giulio Benetti
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-04-10 17:11 UTC (permalink / raw)
To: buildroot
On Sun, 7 Apr 2019 18:32:31 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Use pkg-config to retrieve openssl dependencies such as atomic
>
> Fixes:
> - http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl
2019-04-10 17:11 ` Thomas Petazzoni
@ 2019-04-10 17:21 ` Giulio Benetti
2019-04-10 17:31 ` Fabrice Fontaine
0 siblings, 1 reply; 4+ messages in thread
From: Giulio Benetti @ 2019-04-10 17:21 UTC (permalink / raw)
To: buildroot
Il 10/04/2019 19:11, Thomas Petazzoni ha scritto:
> On Sun, 7 Apr 2019 18:32:31 +0200
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>
>> Use pkg-config to retrieve openssl dependencies such as atomic
>>
>> Fixes:
>> - http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>> ---
>> 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.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl
2019-04-10 17:21 ` Giulio Benetti
@ 2019-04-10 17:31 ` Fabrice Fontaine
0 siblings, 0 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2019-04-10 17:31 UTC (permalink / raw)
To: buildroot
Hello Giulio and Thomas,
Le mer. 10 avr. 2019 ? 19:21, Giulio Benetti
<giulio.benetti@micronovasrl.com> a ?crit :
>
> Il 10/04/2019 19:11, Thomas Petazzoni ha scritto:
> > On Sun, 7 Apr 2019 18:32:31 +0200
> > Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> >
> >> Use pkg-config to retrieve openssl dependencies such as atomic
> >>
> >> Fixes:
> >> - http://autobuild.buildroot.org/results/b2e210bdefe84f4ec9cfda79a33d81788fb7e66c
> >>
> >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> >> ---
> >> 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.
It's ok :-)
>
> --
> 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
Best Regards,
Fabrice
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-04-10 17:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-07 16:32 [Buildroot] [PATCH 1/1] package/civetweb: fix static build with openssl Fabrice Fontaine
2019-04-10 17:11 ` Thomas Petazzoni
2019-04-10 17:21 ` Giulio Benetti
2019-04-10 17:31 ` Fabrice Fontaine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox