summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-11-11 05:15:23 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-12 21:26:50 -0500
commit0b1da2f1e911e941310a20ed7650670d624f6ebe (patch)
tree81c90f0aac06c63907994c87d56ca0aad42b351d /rules
parentbba156f3581913a52cefbcbcb8031f274aaa189a (diff)
downloadhaskell-0b1da2f1e911e941310a20ed7650670d624f6ebe.tar.gz
Make: Install RTS headers in `$libdir/rts/include` not `$libdir/include`
Before we were violating the convention of every other package. This fixes that. It matches the changes made in d5de970dafd5876ef30601697576167f56b9c132 to the location of the files in the repo.
Diffstat (limited to 'rules')
-rw-r--r--rules/manual-package-config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/manual-package-config.mk b/rules/manual-package-config.mk
index 3905c437ac..72c3a369b6 100644
--- a/rules/manual-package-config.mk
+++ b/rules/manual-package-config.mk
@@ -37,8 +37,8 @@ $1/$2/package.conf.inplace : $1/package.conf.in $$$$(ghc-pkg_INPLACE) | $$$$(dir
$1/$2/package.conf.install : $1/package.conf.in | $$$$(dir $$$$@)/.
$$(HS_CPP) -P \
-DINSTALLING \
- -DLIB_DIR='"$$(if $$(filter YES,$$(RelocatableBuild)),$$$$topdir,$$(ghclibdir))"' \
- -DINCLUDE_DIR='"$$(if $$(filter YES,$$(RelocatableBuild)),$$$$topdir,$$(ghclibdir))/include"' \
+ -DLIB_DIR='"$$(if $$(filter YES,$$(RelocatableBuild)),$$$$topdir,$$(ghclibdir))/$1"' \
+ -DINCLUDE_DIR='"$$(if $$(filter YES,$$(RelocatableBuild)),$$$$topdir,$$(ghclibdir))/$1/include"' \
$$($1_PACKAGE_CPP_OPTS) \
$$(addprefix -I,$$(GHC_INCLUDE_DIRS)) \
-I$$(BUILD_$3_INCLUDE_DIR) \