creswick / cabal-dev

A wrapper program around cabal and cabal-install that maintains sandboxed build environments.
BSD 3-Clause "New" or "Revised" License
150 stars 24 forks source link

shared libraries of dependencies aren't found when listed in tests section #85

Open mwotton opened 11 years ago

mwotton commented 11 years ago

https://github.com/mwotton/cabal-dev-bug

README shows how to tickle the bug. it seems to work fine when listed in the executable or library section, but not the test-suite section. also, only fires when --enable-shared is on.

mwotton commented 11 years ago

oh, i tried removing ./cabal-dev in between each invocation also: this leads to a longer recompile but the same result.

mwotton commented 11 years ago

rhino ➜ ~/projects/test_cabal_dev git:(master) ✗ cabal-dev --version cabal-dev 0.9.1 built with Cabal 1.14.0

rhino ➜ ~/projects/test_cabal_dev git:(master) ✗ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.6.1