Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Jul 30, 2024
1 parent 55a2928 commit 1b27d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bin/text/dune
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
(target link_flags.dune)
(deps (:gen gen_link_flags.exe))
(action
(with-stdout-to link_flags.dune
(run %{gen} %{env:LINK_MODE=dynamic} %{ocaml-config:system}))))
(with-stdout-to link_flags.dune
(run %{gen} %{env:LINK_MODE=dynamic} %{ocaml-config:system}))))

(executable
(name Main_text)
Expand Down
2 changes: 1 addition & 1 deletion src/bin/text/gen_link_flags.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let () =
| "static" ->
begin
match os with
| "linux" -> ["-static"; "-no-pie"], []
| "linux" -> [], ["-static"; "-no-pie"]
| _ ->
Fmt.epr "No known static compilation flags for %s" os;
exit 1
Expand Down

0 comments on commit 1b27d4f

Please sign in to comment.