https://gitlab.com/tezos/tezos
Revision 6a08b70fcee3407fe9d9cc93a96ba501a989c150 authored by Andrea Cerone on 24 November 2022, 13:48:08 UTC, committed by Marge Bot on 25 November 2022, 16:51:56 UTC
1 parent 5b5cc1a
Raw File
Tip revision: 6a08b70fcee3407fe9d9cc93a96ba501a989c150 authored by Andrea Cerone on 24 November 2022, 13:48:08 UTC
Proto: Minimal interface for multi-reveal-hash
Tip revision: 6a08b70
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