diff --git a/ghc.mk b/ghc.mk
index 917e099ef883f616469016b4544006cc06032324..60c13d411e56cf399e2b704c47863ed8f4deda70 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -14,5 +14,5 @@ utils/hpc_USES_CABAL                   = YES
 utils/hpc_PACKAGE                      = hpc-bin
 utils/hpc_dist-install_INSTALL         = YES
 utils/hpc_dist-install_INSTALL_INPLACE = YES
-utils/hpc_dist-install_PROG            = hpc$(exeext)
+utils/hpc_dist-install_PROGNAME        = hpc
 $(eval $(call build-prog,utils/hpc,dist-install,1))