Skip to content

Commit 8f90263

Browse files
committed
Use lib folder for GHC >= 9.10.1
The layout of the ghc installation changed again, the libdir is now located in `lib`.
1 parent 166da11 commit 8f90263

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell/ghc_bindist.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ rm -f
226226
libdir = "lib"
227227
if GHC_BINDIST_LIBDIR.get(version) != None and GHC_BINDIST_LIBDIR[version].get(target) != None:
228228
libdir = GHC_BINDIST_LIBDIR[version][target]
229-
elif os == "darwin" and version_tuple >= (9, 0, 2):
229+
elif os == "darwin" and version_tuple >= (9, 0, 2) and version_tuple < (9, 10, 1):
230230
libdir = "lib/lib"
231-
elif os == "linux" and version_tuple >= (9, 4, 1):
231+
elif os == "linux" and version_tuple >= (9, 4, 1) and version_tuple < (9, 10, 1):
232232
libdir = "lib/lib"
233233

234234
docdir = "doc"

0 commit comments

Comments
 (0)