Revision ae7b4325ae8fa6b2064ab090a0cb2912fce2c319 authored by Marge Bot on 08 January 2024, 16:44:21 UTC, committed by Marge Bot on 08 January 2024, 16:44:21 UTC
Co-authored-by: François Thiré <francois.thire@nomadic-labs.com>
Co-authored-by: Chris Pinnock <chris_pinnock@mac.com>

Approved-by: Killian Delarue <killian.delarue@nomadic-labs.com>
Approved-by: Nic Volanschi <nic.volanschi@nomadic-labs.com>
Approved-by: Albin Coquereau <pro.acoquer@protonmail.com>
Approved-by: François Thiré <francois.thire@nomadic-labs.com>

See merge request https://gitlab.com/tezos/tezos/-/merge_requests/11441
2 parent s e131ab5 + 7c4b901
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 '()'"))))

; This file is included in the link_flags stanza of binaries and static libraries
; for which we should include -ccopt "-framework Security" on macOS.
(rule
 (target macos-link-flags.sexp)
 (action (with-stdout-to %{target}
  (system "[ '%{system}' = 'macosx' ] && echo '(-ccopt \"-framework Security\")' || echo '()'"))))
back to top