https://gitlab.com/tezos/tezos
Raw File
Tip revision: 924d62e15b20b397b9881f2b89f2d4cd99a8a709 authored by Ole Krüger on 18 January 2023, 12:08:17 UTC
Proto: Update previous constants representation
Tip revision: 924d62e
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