Skip to content

Commit

Permalink
Merge pull request #472 from pfitaxel/bump-ssl
Browse files Browse the repository at this point in the history
deps(opam): Bump `ssl` version, fixes FTBFS on macOS
  • Loading branch information
erikmd committed Mar 6, 2022
2 parents 28ad355 + 38809a5 commit 19a8e1a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions learn-ocaml-client.opam
Expand Up @@ -28,11 +28,12 @@ depends: [
"dune" {>= "2.3.0"}
"ezjsonm"
"gg"
"ipaddr" {= "2.8.0" }
"ipaddr" {= "2.9.0" }
"lwt" {>= "4.0.0"}
"lwt_ssl"
"ocaml" {(>= "4.12") & (< "4.13~")}
"ocamlfind" {build}
"ocaml-migrate-parsetree" {= "1.8.0"}
"ocp-indent-nlfork"
"ocplib-json-typed" {>= "0.7"}
"ocp-ocamlres" {>= "0.4"}
Expand All @@ -41,7 +42,7 @@ depends: [
"ppxlib"
"ppx_sexp_conv"
"ppx_tools"
"ssl" {= "0.5.5"}
"ssl" {= "0.5.10"}
"vg"
]
build: [
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml-client.opam.locked
Expand Up @@ -55,7 +55,7 @@ depends: [
"fmt" {= "0.8.9"}
"gg" {= "0.9.3"}
"hex" {= "1.4.0"}
"ipaddr" {= "2.8.0"}
"ipaddr" {= "2.9.0"}
"jbuilder" {= "1.0+beta20.2"}
"js_of_ocaml" {= "3.9.0"}
"js_of_ocaml-compiler" {= "3.9.1"}
Expand Down Expand Up @@ -95,7 +95,7 @@ depends: [
"seq" {= "0.2.2"}
"sexplib" {= "v0.14.0"}
"sexplib0" {= "v0.14.0"}
"ssl" {= "0.5.5"}
"ssl" {= "0.5.10"}
"stdlib-shims" {= "0.3.0"}
"stringext" {= "1.6.0"}
"topkg" {= "1.0.3"}
Expand Down
5 changes: 3 additions & 2 deletions learn-ocaml.opam
Expand Up @@ -30,7 +30,7 @@ depends: [
"dune" {>= "2.3.0"}
"easy-format" {>= "1.3.0" }
"ezjsonm"
"ipaddr" {>= "2.8.0" }
"ipaddr" {= "2.9.0" }
"js_of_ocaml" {>= "3.3.0" & != "3.10.0"}
"js_of_ocaml-compiler" {>= "3.3.0"}
"js_of_ocaml-lwt"
Expand All @@ -45,6 +45,7 @@ depends: [
"markup-lwt"
"ocaml" {(>= "4.12") & (< "4.13~")}
"ocamlfind" {build}
"ocaml-migrate-parsetree" {= "1.8.0"}
"ocp-indent-nlfork"
"ocplib-json-typed" {>= "0.7"}
"ocplib-json-typed-browser" {>= "0.7"}
Expand All @@ -58,7 +59,7 @@ depends: [
"ppx_tools"
"ppx_tools_versioned"
"re"
"ssl" {= "0.5.5"}
"ssl" {= "0.5.10"}
"uutf" {>= "1.0" }
"vg"
"yojson" {>= "1.4.0" }
Expand Down
4 changes: 2 additions & 2 deletions learn-ocaml.opam.locked
Expand Up @@ -55,7 +55,7 @@ depends: [
"fpath" {= "0.7.3"}
"gg" {= "0.9.3"}
"hex" {= "1.4.0"}
"ipaddr" {= "2.8.0"}
"ipaddr" {= "2.9.0"}
"jbuilder" {= "1.0+beta20.2"}
"js_of_ocaml" {= "3.9.0"}
"js_of_ocaml-compiler" {= "3.9.1"}
Expand Down Expand Up @@ -107,7 +107,7 @@ depends: [
"seq" {= "0.2.2"}
"sexplib" {= "v0.14.0"}
"sexplib0" {= "v0.14.0"}
"ssl" {= "0.5.5"}
"ssl" {= "0.5.10"}
"stdlib-shims" {= "0.3.0"}
"stringext" {= "1.6.0"}
"topkg" {= "1.0.3"}
Expand Down
4 changes: 2 additions & 2 deletions src/main/linking_flags.sh
Expand Up @@ -52,7 +52,7 @@ case $(uname -s) in
Linux)
case $(. /etc/os-release && echo $ID) in
alpine)
COMMON_LIBS="camlstr ssl_threads_stubs ssl crypto cstruct_stubs bigstringaf_stubs lwt_unix_stubs unix c"
COMMON_LIBS="camlstr ssl_stubs ssl crypto cstruct_stubs bigstringaf_stubs lwt_unix_stubs unix c"
# `m` and `pthread` are built-in musl
echo2 '(-noautolink'
echo2 ' -cclib -Wl,-Bstatic'
Expand All @@ -68,7 +68,7 @@ case $(uname -s) in
esac
;;
Darwin)
COMMON_LIBS="camlstr ssl_threads_stubs /usr/local/opt/openssl/lib/libssl.a /usr/local/opt/openssl/lib/libcrypto.a cstruct_stubs bigstringaf_stubs lwt_unix_stubs unix"
COMMON_LIBS="camlstr ssl_stubs /usr/local/opt/openssl/lib/libssl.a /usr/local/opt/openssl/lib/libcrypto.a cstruct_stubs bigstringaf_stubs lwt_unix_stubs unix"
# `m` and `pthread` are built-in in libSystem
echo2 '(-noautolink'
for l in $EXTRA_LIBS $COMMON_LIBS; do
Expand Down

0 comments on commit 19a8e1a

Please sign in to comment.