Revision e9c1de01cf26f9a4dcad7e9dd3dc6927ebbcdb6e authored by Julien Coolen on 07 November 2022, 15:09:53 UTC, committed by Julien Coolen on 24 November 2022, 17:53:22 UTC
1 parent 249fd3d
dune
(vendored_dirs vendors)
(data_only_dirs _opam-repo-for-release)
(env
(_
(binaries (%{workspace_root}/src/tooling/node_wrapper.exe as node))))
; This file is included in the link_flags stanza of binaries for which
; we want a static build.
; If the current dune profile is "static", it contains the flag
; telling the compiler to compile static executables.
; Else it contains no flags.
(rule
(target static-link-flags.sexp)
(action (with-stdout-to %{target}
(system "[ '%{profile}' = 'static' ] && echo '(-ccopt -static -cclib -lusb-1.0 -cclib -ludev)' || echo '()'"))))
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...