Commit 0a594fab authored by Ian Lynagh's avatar Ian Lynagh

Fix library installation; fixes #3374

When configuring packages, enable library profiling and shared libraries
based on the ways in GhcLibWays.
parent 7f9e7631
......@@ -12,7 +12,11 @@
define build-package-data # args: $1 = dir, $2 = distdir
ifeq "$$(BuildSharedLibs)" "YES"
ifeq "$$(filter p,$$(GhcLibWays))" "p"
$1_$2_CONFIGURE_OPTS += --enable-library-profiling
endif
ifeq "$$(filter dyn,$$(GhcLibWays))" "dyn"
$1_$2_CONFIGURE_OPTS += --enable-shared
endif
......
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