-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for LibreSSL #23
Conversation
Only libressl does not match option name and software name.
|
||
// only libressl does not match option name | ||
if name == "libressl" { | ||
name = "openssl" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only libressl does not match option name and software name. So I rewritten the option name here.
@@ -23,7 +23,7 @@ func Generate(configure string, modules3rd []module3rd.Module3rd, dependencies [ | |||
|
|||
for _, d := range dependencies { | |||
configure += fmt.Sprintf("%s=../%s-%s \\\n", d.Option, d.Name, d.Version) | |||
if d.Name == "openssl" { | |||
if d.Name == "openssl" || d.Name == "libressl" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The options required by OpenSSL are also required for LibreSSL.
@@ -188,6 +190,9 @@ func main() { | |||
if *openResty && *tengine { | |||
log.Fatal("select one between '-openresty' and '-tengine'.") | |||
} | |||
if *openSSLStatic && *libreSSLStatic { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both -openssl
and -libressl
cannot be enabled at the same time.
LGTM. Could you add documents to README.md? |
@cubicdaiya Thank you. I add documents for |
Merged. Thanks. |
Thank you! |
Only libressl does not match option name and software name.