diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-12-19 13:58:47 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-12-19 14:12:04 +0000 |
commit | 544a7384bbfbbf80e9cfcec9419cae94f3042539 (patch) | |
tree | fe2dceff1808acec00bd2ec7d0e5f3b1698a0a69 /testsuite/mk | |
parent | c425b2feb80410732ac9640fe750db4a5e33926b (diff) | |
download | haskell-544a7384bbfbbf80e9cfcec9419cae94f3042539.tar.gz |
fix $(HAVE_PROFILING) on Windows
Diffstat (limited to 'testsuite/mk')
-rw-r--r-- | testsuite/mk/test.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index c8db53d592..789ca9d75d 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -51,7 +51,7 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0 endif HASKELL98_LIBDIR := $(shell "$(GHC_PKG)" field haskell98 library-dirs | sed 's/^[^:]*: *//') -HAVE_PROFILING := $(shell if [ -f $(HASKELL98_LIBDIR)/libHShaskell98-*_p.a ]; then echo YES; else echo NO; fi) +HAVE_PROFILING := $(shell if [ -f $(subst \,/,$(HASKELL98_LIBDIR))/libHShaskell98-*_p.a ]; then echo YES; else echo NO; fi) ifeq "$(HAVE_PROFILING)" "YES" RUNTEST_OPTS += -e ghc_with_profiling=1 |