diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-12-13 12:47:22 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-12-13 13:12:24 +0000 |
commit | 1f725a82331ccc1a38d82df31d1208bd6a0658c8 (patch) | |
tree | 8b23b91335fe0ace669240fa23fcd47105044463 /testsuite/mk | |
parent | ce7325ceb268a9468c8f36e7b86a83b52ac62aaf (diff) | |
download | haskell-1f725a82331ccc1a38d82df31d1208bd6a0658c8.tar.gz |
Get the value of $(AR) from ghc --info
On Windows, 'ar' might not necessarily be on $PATH.
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/boilerplate.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/mk/boilerplate.mk b/testsuite/mk/boilerplate.mk index 4eeb1aa251..d8c7c9e75e 100644 --- a/testsuite/mk/boilerplate.mk +++ b/testsuite/mk/boilerplate.mk @@ -138,6 +138,11 @@ endif $(eval $(call get-ghc-field,GhcRTSWays,RTS ways)) +$(eval $(call get-ghc-field,AR,ar command)) +ifeq "$(AR)" "" +AR = ar +endif + TOP_ABS := $(abspath $(TOP)) $(eval $(call canonicalise,TOP_ABS)) |