diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2019-03-10 17:34:42 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-12 09:04:52 -0400 |
commit | 61264556d5c817b55332a199b03fa1f559e92ee2 (patch) | |
tree | 3d192347a3e380aee62b93c806d8513fc4dd3cbd /hadrian/src/Rules/Libffi.hs | |
parent | b232231065f5e40ae3a6bd515bb42330cf484fcc (diff) | |
download | haskell-61264556d5c817b55332a199b03fa1f559e92ee2.tar.gz |
Hadrian: Make libsuf and distDir stage aware
The version suffix needs to be the version of the stage 0 compiler
when building shared libraries with the stage 0 compiler.
Diffstat (limited to 'hadrian/src/Rules/Libffi.hs')
-rw-r--r-- | hadrian/src/Rules/Libffi.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/src/Rules/Libffi.hs b/hadrian/src/Rules/Libffi.hs index 5b25aab5ba..ddc739d735 100644 --- a/hadrian/src/Rules/Libffi.hs +++ b/hadrian/src/Rules/Libffi.hs @@ -60,7 +60,7 @@ libffiLibrary = "inst/lib/libffi.a" rtsLibffiLibrary :: Stage -> Way -> Action FilePath rtsLibffiLibrary stage way = do name <- libffiLibraryName - suf <- libsuf way + suf <- libsuf stage way rtsPath <- rtsBuildPath stage return $ rtsPath -/- "lib" ++ name ++ suf |