Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Ben Gamari's avatar
    efcbad2d
    hadrian: Generate HSC2HS_EXTRAS variable in bindist installation · efcbad2d
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    We must generate the hsc2hs wrapper at bindist installation time since
    it must contain `--lflag` and `--cflag` arguments which depend upon the
    installation path.
    
    The solution here is to substitute these variables in the configure
    script (see mk/hsc2hs.in). This is then copied over a dummy wrapper in
    the install rules.
    
    Fixes #24050.
    efcbad2d
    History
    hadrian: Generate HSC2HS_EXTRAS variable in bindist installation
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    We must generate the hsc2hs wrapper at bindist installation time since
    it must contain `--lflag` and `--cflag` arguments which depend upon the
    installation path.
    
    The solution here is to substitute these variables in the configure
    script (see mk/hsc2hs.in). This is then copied over a dummy wrapper in
    the install rules.
    
    Fixes #24050.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.