Revision 49eeb2d0fca224649022206fdd9099244c95963f authored by Frej Soya on 09 September 2022, 13:08:28 UTC, committed by Marge Bot on 13 September 2022, 09:49:59 UTC
Wrap old test in expected failure wrapper. This really belongs in the test
framework and not here for bettter reporting.
1 parent 1f8513e
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