Page MenuHomeFreeBSD

Fix www/h2o build with libressl
ClosedPublic

Authored by csjp on Apr 16 2020, 11:12 PM.

Details

Summary

This should fix the h2o build when people are trying to link/build against
libressl. This was mostly taken from upstream. It looks like other bits
of this patch are already in, but for whatever reason the neverbleed
portions were missed.

Discussion here: https://github.com/h2o/h2o/issues/1706

Test Plan

Did some basic testing locally, but I would appriciate if somebody else
can test it too.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

linimon retitled this revision from Fix h2o build wth libressl to Fix www/h2o build wth libressl.Apr 16 2020, 11:15 PM
csjp retitled this revision from Fix www/h2o build wth libressl to Fix www/h2o build with libressl.Apr 16 2020, 11:18 PM

tested with SSL=libressl|openssl and without (SSL=), on 12.1R and 13.0-CURRENT amd64. LGTM!

@csjp you're welcome to commit this (with my humble thanks!!) or I will get around to it later in the week.

This revision is now accepted and ready to land.Apr 20 2020, 7:01 PM
This revision was automatically updated to reflect the committed changes.