Fix installation of vanilla libraries
authorIan Lynagh <ian@well-typed.com>
Thu, 25 Oct 2012 15:36:47 +0000 (16:36 +0100)
committerIan Lynagh <ian@well-typed.com>
Thu, 25 Oct 2012 15:36:47 +0000 (16:36 +0100)
rules/build-package-data.mk

index dd94493..bbe8652 100644 (file)
@@ -18,7 +18,7 @@ $(call profStart, build-package-data($1,$2,$3))
 # $2 = distdir
 # $3 = GHC stage to use (0 == bootstrapping compiler)
 
-ifeq "$$(filter p,$$($1_$2_WAYS))" "v"
+ifeq "$$(filter v,$$($1_$2_WAYS))" "v"
 $1_$2_CONFIGURE_OPTS += --enable-library-vanilla
 else
 $1_$2_CONFIGURE_OPTS += --disable-library-vanilla