projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
988bfab
)
Pass --enable-shared and --with-hscolour to ghc-cabal configure
author
Duncan Coutts
<duncan@well-typed.com>
Tue, 19 May 2009 12:09:53 +0000
(12:09 +0000)
committer
Duncan Coutts
<duncan@well-typed.com>
Tue, 19 May 2009 12:09:53 +0000
(12:09 +0000)
It tried to do this already, but the make variable name was wrong.
rules/build-package-data.mk
patch
|
blob
|
history
diff --git
a/rules/build-package-data.mk
b/rules/build-package-data.mk
index
53621ed
..
38a9620
100644
(file)
--- a/
rules/build-package-data.mk
+++ b/
rules/build-package-data.mk
@@
-13,11
+13,11
@@
define build-package-data # args: $1 = dir, $2 = distdir
ifeq "$(BuildSharedLibs)" "YES"
-$1_$2_CONFIGURE_FLAGS += --enable-shared
+$1_$2_CONFIGURE_OPTS += --enable-shared
endif
ifeq "$(HSCOLOUR_SRCS)" "YES"
-$1_$2_CONFIGURE_FLAGS += --with-hscolour="$$(HSCOLOUR)"
+$1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR)"
endif
# This rule configures the package, generates the package-data.mk file