coq: fix build with bytecode.
This commit is contained in:
parent
85971d29c4
commit
0ee43e2bf9
|
@ -20,6 +20,13 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
ppc*) broken="R_PPC_REL24 relocation out of range";;
|
||||
esac
|
||||
|
||||
do_patch() {
|
||||
if ! command -v ocamlc.opt >/dev/null; then
|
||||
# see coq/coq#18609
|
||||
vsed -i -e 's/dep ^ ".cmxs"/dep ^ ".cma"/' tools/dune_rule_gen/coq_rules.ml
|
||||
fi
|
||||
}
|
||||
|
||||
do_build() {
|
||||
make dunestrap
|
||||
dune build --display=short -p coq-core,coq-stdlib,coqide-server
|
||||
|
|
Loading…
Reference in New Issue