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:
7f9e763
)
Fix library installation; fixes #3374
author
Ian Lynagh
<igloo@earth.li>
Thu, 20 Aug 2009 17:37:07 +0000
(17:37 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 20 Aug 2009 17:37:07 +0000
(17:37 +0000)
When configuring packages, enable library profiling and shared libraries
based on the ways in GhcLibWays.
rules/build-package-data.mk
patch
|
blob
|
history
diff --git
a/rules/build-package-data.mk
b/rules/build-package-data.mk
index
7d540f4
..
6c3b1b0
100644
(file)
--- a/
rules/build-package-data.mk
+++ b/
rules/build-package-data.mk
@@
-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