Commit 7bc961d5 authored by Guillaume Melquiond's avatar Guillaume Melquiond
Browse files

Look for js_of_ocaml-ppx instead of js_of_ocaml.ppx.

While they are aliases, ocamlfind behaves as if the latter was just
js_of_ocaml for the sake of querying (unless recursive), so the missing
package was not properly detected.
parent 6ed7cc87
......@@ -484,9 +484,9 @@ if test "$USEOCAMLFIND" = yes; then
if test -z "$JSOFOCAML"; then
reason_jsofocaml=" (js_of_ocaml not found)"
else
JSOFOCAMLPPX=$(ocamlfind query js_of_ocaml.ppx)
JSOFOCAMLPPX=$(ocamlfind query js_of_ocaml-ppx)
if test -z "$JSOFOCAMLPPX"; then
reason_jsofocaml=" (js_of_ocaml.ppx not found)"
reason_jsofocaml=" (js_of_ocaml-ppx not found)"
else
HASJSOFOCAML=yes
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment