haskell_library fails on MacOS
aherrmann opened this issue · comments
Andreas Herrmann commented
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.