Skip to content
Snippets Groups Projects
Commit 01961be3 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

configure: Derive library version from ghc-prim.cabal.in

Since ghc-prim.cabal is now generated by Hadrian, we cannot depend upon
it.

Closes #23726.
parent 5b5be3ea
No related branches found
No related tags found
No related merge requests found
......@@ -1146,11 +1146,11 @@ dnl The packages below should include all packages needed by
dnl doc/users_guide/ghc_config.py.in.
LIBRARY_VERSION(base)
LIBRARY_VERSION(Cabal, Cabal/Cabal/Cabal.cabal)
dnl template-haskell.cabal is generated later
dnl but the .in file already has the version
dnl template-haskell.cabal and ghc-prim.cabal are generated later
dnl by Hadrian but the .in files already have the version
LIBRARY_VERSION(template-haskell, template-haskell/template-haskell.cabal.in)
LIBRARY_VERSION(array)
LIBRARY_VERSION(ghc-prim)
LIBRARY_VERSION(ghc-prim, ghc-prim/ghc-prim.cabal.in)
LIBRARY_VERSION(ghc-compact)
LIBRARY_ghc_VERSION="$ProjectVersion"
AC_SUBST(LIBRARY_ghc_VERSION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment