summaryrefslogtreecommitdiff
path: root/rules/build-package-way.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-10-14 13:36:08 +0100
committerIan Lynagh <igloo@earth.li>2012-10-14 15:31:07 +0100
commit0271742138ffc55d992be549c027ae690fde5080 (patch)
treefa99b538693da25f282f0e2752083c95d2f3e427 /rules/build-package-way.mk
parent8c24ab98cde96ce20dea6a9280231d978ffc7690 (diff)
downloadhaskell-0271742138ffc55d992be549c027ae690fde5080.tar.gz
Get dynamic-by-default mostly working on OS X
Diffstat (limited to 'rules/build-package-way.mk')
-rw-r--r--rules/build-package-way.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/build-package-way.mk b/rules/build-package-way.mk
index aa3f277bf8..7a028d5b88 100644
--- a/rules/build-package-way.mk
+++ b/rules/build-package-way.mk
@@ -25,7 +25,8 @@ $(call hs-objs,$1,$2,$3)
# The .a/.so library file, indexed by two different sets of vars:
# the first is indexed by the dir, distdir and way
# the second is indexed by the package id, distdir and way
-$1_$2_$3_LIB = $1/$2/build/libHS$$($1_PACKAGE)-$$($1_$2_VERSION)$$($3_libsuf)
+$1_$2_$3_LIB_NAME = libHS$$($1_PACKAGE)-$$($1_$2_VERSION)$$($3_libsuf)
+$1_$2_$3_LIB = $1/$2/build/$$($1_$2_$3_LIB_NAME)
$$($1_PACKAGE)-$$($1_$2_VERSION)_$2_$3_LIB = $$($1_$2_$3_LIB)
# Note [inconsistent distdirs]