make install failure on integer-gmp
After building the current GHC HEAD and trying to do a make install, it fails with the following error
ghc-cabal.exe: integer-gmp-0.2.0.0: library-dirs: @GMP_LIB_DIRS@ is a relative
path (use --force to override)
make[1]: *** [install_packages] Error 1
looking in libraries\integer-gmp\dist-install\package-data.mk I found the following:
libraries/integer-gmp_dist-install_INCLUDE_DIRS = @GMP_INCLUDE_DIRS@
libraries/integer-gmp_dist-install_INCLUDES =
libraries/integer-gmp_dist-install_INSTALL_INCLUDES =
libraries/integer-gmp_dist-install_EXTRA_LIBRARIES =
libraries/integer-gmp_dist-install_EXTRA_LIBDIRS = @GMP_LIB_DIRS@
It seems those were never expanded, but since no extra dependencies are listed, I just removed them and install succeeded.