plugins: search for .a files if necessary
authorsheaf <sam.derbyshire@gmail.com>
Sun, 28 Oct 2018 16:30:13 +0000 (12:30 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sun, 28 Oct 2018 17:34:03 +0000 (13:34 -0400)
commitd2cd150eda599d0de83fc687efc48e22a2e74a5e
tree8aa955c6f0da62684ba5167adbecd16e87482844
parentde9a8febde8cb7945d36d7e0bb7e12ddffca50bd
plugins: search for .a files if necessary

Summary:
on windows, plugins are loaded via .a files,
but those paths were not being searched when loading plugins

Test Plan: ./validate

Reviewers: Phyx, bgamari

Reviewed By: Phyx

Subscribers: RyanGlScott, rwbarton, carter

GHC Trac Issues: #15700

Differential Revision: https://phabricator.haskell.org/D5253

(cherry picked from commit 70298db16c3f0ea4adb603ccb2b5e93eb9c7a556)
compiler/deSugar/DsUsage.hs