-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Milestone
Description
General summary/comments (optional)
Steps to reproduce
- Clone http-client package from Hackage under Windows
- Using Stack's MinGW64 run: pacman -S mingw-w64-x86_64-openssl
- Run command
stack build.
Expected
Expected to find eay32.dll which is installed using Stack's MingGW64.
Actual
stack build -v output
...
--extra-include-dirs=C:\Users\MyUser\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\include --extra-lib-dirs=C:\Users\MyUser\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\lib
...
There is no \bin folder included in extra-lib-dirs. And it cannot find OpenSSL libraries which are compiled and deployed by MinGW64 into \bin folder. When I add:
extra-lib-dirs:
- C:\Users\MyUser\AppData\Local\Programs\stack\x86_64-windows\msys2-20150512\mingw64\bin
to .yaml file - it finds it. But I think that it'll be useful if this folder is added automatically by Stack. So every library built with Stack's MinGW to be accessible for Haskell projects built with Stack.
Stack version
Version 1.4.0, Git revision e714f1dd3fade19496d91bd6a017e435a96a6bcd x86_64 hpack-0.17.0
Method of installation
- Official binary, downloaded from stackage.org or fpcomplete's package repository