Skip to content
  • Cheng Shao's avatar
    edc02197
    hadrian: fix bindist executable wrapper logic for cross targets · edc02197
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit fixes an oversight of hadrian wrapper generation logic:
    when doing cross compilation, `wrapper` is called on executable names
    with cross prefix, therefore we must use `isSuffixOf` when matching to
    take the cross prefix into account. Also add missing cross prefix to
    ghci wrapper content and fix hsc2hs wrapper logic.
    edc02197
    hadrian: fix bindist executable wrapper logic for cross targets
    Cheng Shao authored and Marge Bot's avatar Marge Bot committed
    This commit fixes an oversight of hadrian wrapper generation logic:
    when doing cross compilation, `wrapper` is called on executable names
    with cross prefix, therefore we must use `isSuffixOf` when matching to
    take the cross prefix into account. Also add missing cross prefix to
    ghci wrapper content and fix hsc2hs wrapper logic.
Loading