diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-16 15:39:32 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-16 16:23:51 +0000 |
commit | ac5a314504554ddef0e855ef9e2fcf51e961f4a6 (patch) | |
tree | f1cbca12d13992189769fd0d41ab21e336ff80b4 /rules/build-package.mk | |
parent | 4c821f0cf512ca5f6aa65113e9302e5982b53b1a (diff) | |
download | haskell-ac5a314504554ddef0e855ef9e2fcf51e961f4a6.tar.gz |
Build the stage0 ghc-pkg with Cabal
This solves the problem of how to define MIN_VERSION_base for
the binary package.
Also fixed a couple of build system bugs along the way.
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r-- | rules/build-package.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk index 47b706e718..8b9723b318 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -123,6 +123,7 @@ $$(foreach way,$$($1_$2_WAYS),$$(eval \ # If dyn libs are not being built then $$($1_$2_dyn_LIB) will just # expand to the empty string, and be ignored. $1_$2_PROGRAM_DEP_LIB = $$($1_$2_v_LIB) $$($1_$2_dyn_LIB) +$$($1_PACKAGE)-$$($1_$2_VERSION)_$2_PROGRAM_DEP_LIB = $$($1_$2_PROGRAM_DEP_LIB) # C and S files are possibly built the "dyn" way. ifeq "$$(BuildSharedLibs)" "YES" |