Commit 4e340bbb authored by Duncan Coutts's avatar Duncan Coutts

Pass --enable-shared and --with-hscolour to ghc-cabal configure

It tried to do this already, but the make variable name was wrong.
parent 988bfabb
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment