carlos / todomvc-bakeoff Public
| 1 | (executable |
| 2 | (name main) |
| 3 | (public_name todo-ocaml) |
| 4 | (package todo_ocaml) |
| 5 | (libraries todo eio eio_posix cohttp-eio http uri cstruct) |
| 6 | (link_flags (:standard (:include link_flags.sexp)))) |
| 7 | |
| 8 | ; LINK_FLAGS="-ccopt -static" links statically (the shipped arm64 build). |
| 9 | (rule |
| 10 | (target link_flags.sexp) |
| 11 | (action |
| 12 | (with-stdout-to |
| 13 | %{target} |
| 14 | (echo "(%{env:LINK_FLAGS=})")))) |
| 15 |