Skip to content

Commit

Permalink
fix for 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
aryx committed Apr 27, 2024
1 parent 99f21da commit bb549a0
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion bin/ocamlcflags
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
#!/bin/sh
echo "-absname -bin-annot"

OCAML_VERSION_MAJOR=`ocamlc -version | cut -f1 -d.`
#OCAML_VERSION_MINOR = `ocamlopt -version | cut -f2 -d.`
#OCAML_VERSION_POINT = `ocamlopt -version | cut -f3 -d.`

case "$OCAML_VERSION_MAJOR" in
"3") ;;
"4")
echo "-absname -bin-annot";;
"5")
echo "-absname -bin-annot";;
"*") ;;
esac

0 comments on commit bb549a0

Please sign in to comment.