Skip to content
  • Peter Trommler's avatar
    Link command line libs to temp so · c6a3e227
    Peter Trommler authored and Ben Gamari's avatar Ben Gamari committed
    Symbols in libraries specified on the GHCis command line are
    not available to compiled modules because shared libraries
    are loaded with local scope. So we link all libraries specified
    on the command line into each temporary shared library.
    
    Test Plan: validate
    
    Reviewers: simonmar, hvr, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1631
    
    GHC Trac Issues: #10458
    c6a3e227