Commit 9dbb3b12 authored by Louis Gesbert's avatar Louis Gesbert
Browse files

Fix simple static linking

parent cbe611b7
...@@ -22,7 +22,7 @@ build: ...@@ -22,7 +22,7 @@ build:
- opam switch create . ocaml-system --deps-only --locked - opam switch create . ocaml-system --deps-only --locked
- opam clean --switch-cleanup - opam clean --switch-cleanup
script: script:
- OCAMLPARAM="_,cclib=-static-pie" opam exec -- dune build --profile release @all - OCAMLPARAM="_,cclib=-static-pie,cclib=-static" opam exec -- dune build --profile release @all
- opam exec -- dune runtest - opam exec -- dune runtest
- mv _build/default/src/server.exe . - mv _build/default/src/server.exe .
artifacts: artifacts:
......
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