I’m porting the
ocamlfuse package to dune and it required linking with
(c_library_flags (-losxfuse)) on Mac and
(c_library_flags (-lfuse)) on all other operating systems. How do I go about customizing the dune build based on host operating system?
Do I have to use dune “environments” for this? I imagine I would also need to modify the opam file to use different build commands based on OS?