Skip to contentSkip to conversation

libevent: disable openssl for host

PATCH New Baruch Siach 2 participants 3 messages Nov 28, 2017 – Dec 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libevent: disable openssl for host

As host-libevent does not depend on host-openssl, it might attempt to build against the host installed openssl. This does not work very well on various hosts. Since we don't really need encryption support in host-libevent just disable openssl support.

Disable build of example code as we already do for the target libevent.

Should fix:
http://autobuild.buildroot.net/results/403/403886e3afc6d5d18a138f4b0651f3c5a50ed064/
http://autobuild.buildroot.net/results/a2a/a2a84692049b0fb8038f1ad4b06554ecdac32e3c/
http://autobuild.buildroot.net/results/a36/a36abb1ac556a8b50e140ea1851955744b152608/

---
 package/libevent/libevent.mk | 1 +
 1 file changed, 1 insertion(+)
package/libevent/libevent.mk +1 -0
index fc4108f6fd08..65bf1c2b7b9f 100644
@@ -12,6 +12,7 @@ LIBEVENT_LICENSE_FILES = LICENSE
 # For 0001-Disable-building-test-programs.patch
 LIBEVENT_AUTORECONF = YES
 LIBEVENT_CONF_OPTS = --disable-samples
+HOST_LIBEVENT_CONF_OPTS = --disable-samples --disable-openssl
 
 define LIBEVENT_REMOVE_PYSCRIPT
 	rm $(TARGET_DIR)/usr/bin/event_rpcgen.py
Signature · 1 line
2.15.0
#1 lore raw

PATCH 1/1 libevent: disable openssl for host

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

As host-libevent does not depend on host-openssl, it might attempt to build against the host installed openssl. This does not work very well on various hosts. Since we don't really need encryption support in host-libevent just disable openssl support.

Quoted 8 lines

Disable build of example code as we already do for the target libevent.

Should fix:
http://autobuild.buildroot.net/results/403/403886e3afc6d5d18a138f4b0651f3c5a50ed064/
http://autobuild.buildroot.net/results/a2a/a2a84692049b0fb8038f1ad4b06554ecdac32e3c/
http://autobuild.buildroot.net/results/a36/a36abb1ac556a8b50e140ea1851955744b152608/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 libevent: disable openssl for host

In reply to Baruch Siach
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

As host-libevent does not depend on host-openssl, it might attempt to build against the host installed openssl. This does not work very well on various hosts. Since we don't really need encryption support in host-libevent just disable openssl support.

Quoted 8 lines

Disable build of example code as we already do for the target libevent.

Should fix:
http://autobuild.buildroot.net/results/403/403886e3afc6d5d18a138f4b0651f3c5a50ed064/
http://autobuild.buildroot.net/results/a2a/a2a84692049b0fb8038f1ad4b06554ecdac32e3c/
http://autobuild.buildroot.net/results/a36/a36abb1ac556a8b50e140ea1851955744b152608/

Committed to 2017.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard