Trying to build a haskell_library target with Buck2 on MacOS fails with a linker error of the form
ld: unknown option: -soname
The reason seems to be that platform specific properties are currently hard-coded to Linux values in the Haskell rules, e.g. the -soname flag. For reference, the cxx toolchain distinguishes such flags by linker type.
Trying to build a
haskell_library
target with Buck2 on MacOS fails with a linker error of the formThe reason seems to be that platform specific properties are currently hard-coded to Linux values in the Haskell rules, e.g. the
-soname
flag. For reference, the cxx toolchain distinguishes such flags by linker type.