https://gitlab.com/tezos/tezos
Revision dee328e64fbbba8fbea71007ad5856ee1bc136c1 authored by Julien Coolen on 25 July 2022, 14:37:28 UTC, committed by Julien Coolen on 25 July 2022, 14:37:28 UTC
1 parent 416adcb
Raw File
Tip revision: dee328e64fbbba8fbea71007ad5856ee1bc136c1 authored by Julien Coolen on 25 July 2022, 14:37:28 UTC
wip
Tip revision: dee328e
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)' || echo '()'"))))
back to top