diff options
author | Zejun Wu <watashi@fb.com> | 2018-10-28 12:38:07 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-10-28 13:40:17 -0400 |
commit | e400b9babdcf11669f963aeec20078fe7ccfca0d (patch) | |
tree | 045b530b1e671f90e882eafc439a84af9cc97c99 /Makefile | |
parent | 49f5c6c33a6668152f0fb306075c891f317249d7 (diff) | |
download | haskell-e400b9babdcf11669f963aeec20078fe7ccfca0d.tar.gz |
Fix ghc-pkg when only prof way is enabled
Summary:
We saw following errors:
```
$ cabal install --disable-library-vanilla --disable-shared --enable-library-profiling
hashable-1.2.7.0: cannot find any of
["libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ.a",
"libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ.p_a",
"libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ-ghc8.4.3.so",
"libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ-ghc8.4.3.dylib",
"HShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ-ghc8.4.3.dll"]
```
This is because ghc-pkg is looking for
`libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ.p_a` instead of
`libHShashable-1.2.7.0-Q2TKVDwk4GBEHmizb4teZ_p.a`.
Test Plan: ./validate
Reviewers: simonmar, bgamari
Reviewed By: simonmar
Subscribers: rwbarton, carter
Differential Revision: https://phabricator.haskell.org/D5234
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions