[iserv] fix loadDLL
authorMoritz Angermann <moritz.angermann@gmail.com>
Thu, 11 May 2017 10:13:28 +0000 (18:13 +0800)
committerMoritz Angermann <moritz.angermann@gmail.com>
Thu, 11 May 2017 10:31:43 +0000 (18:31 +0800)
commit83dcaa8c1e25e5d73c0010029ade30713c0e1696
treea7dd93eb8bebf8f8f622d4d6db50069e9f96ff37
parent5ddb307edf15c4d86e5c35c4063ec967424e19f2
[iserv] fix loadDLL

When we load non absolute pathed .so's this usually implies that we expect the
system to have them in place already, and hence we should not need to ship them.
Without the absolute path to the library, we are also unable to open and send
said library.  Thus we'll do library shipping only for libraries with absolute
paths.

Reviewers: austin, bgamari, simonmar

Reviewed By: simonmar

Subscribers: simonmar, rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3469
iserv/iserv-bin.cabal
iserv/proxy-src/Remote.hs
iserv/src/Remote/Slave.hs