Commit 544a7384 authored by Simon Marlow's avatar Simon Marlow
Browse files

fix $(HAVE_PROFILING) on Windows

parent c425b2fe
...@@ -51,7 +51,7 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0 ...@@ -51,7 +51,7 @@ RUNTEST_OPTS += -e ghc_with_native_codegen=0
endif endif
HASKELL98_LIBDIR := $(shell "$(GHC_PKG)" field haskell98 library-dirs | sed 's/^[^:]*: *//') 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" ifeq "$(HAVE_PROFILING)" "YES"
RUNTEST_OPTS += -e ghc_with_profiling=1 RUNTEST_OPTS += -e ghc_with_profiling=1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment