Define utils/ghc-pkg_dist_PROG correctly for Windows
authorIan Lynagh <igloo@earth.li>
Sat, 16 Feb 2013 18:35:01 +0000 (18:35 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 16 Feb 2013 18:35:01 +0000 (18:35 +0000)
utils/ghc-pkg/ghc.mk

index fac39e8..a179ae7 100644 (file)
@@ -13,8 +13,6 @@
 # -----------------------------------------------------------------------------
 # Bootstrapping ghc-pkg
 
-utils/ghc-pkg_dist_PROG = ghc-pkg$(exeext)
-
 utils/ghc-pkg/dist/build/Version.hs \
 utils/ghc-pkg/dist-install/build/Version.hs: mk/project.mk | $$(dir $$@)/.
        $(call removeFiles,$@)
@@ -43,7 +41,7 @@ $(eval $(call shell-wrapper,utils/ghc-pkg,dist))
 endif
 
 utils/ghc-pkg_dist_USES_CABAL = YES
-utils/ghc-pkg_dist_PROG = ghc-pkg
+utils/ghc-pkg_dist_PROG = ghc-pkg$(exeext)
 utils/ghc-pkg_dist_SHELL_WRAPPER = YES
 utils/ghc-pkg_dist_INSTALL_INPLACE = YES