Skip to content

hadrian: fix bindist executable wrapper logic for cross targets

Cheng Shao requested to merge wip/fix-ghci-wrapper into master

This commit fixes an oversight of hadrian bindist 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.

Edited by Cheng Shao

Merge request reports