Revision 63aa2fbef3cb1b24903afe733c3a929549e11926 authored by Marge Bot on 01 September 2022, 09:36:57 UTC, committed by Marge Bot on 01 September 2022, 09:36:57 UTC
Co-authored-by: Alain Mebsout <alain.mebsout@functori.com>

Approved-by: Hugo Heuzard <hugo.heuzard@gmail.com>
Approved-by: Valentin Chaboche <valentin.chaboche@nomadic-labs.com>

See merge request https://gitlab.com/tezos/tezos/-/merge_requests/6204
2 parent s 7ff2fab + ac711b4
Raw File
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 '()'"))))
back to top