aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile
index 5e465ab47d..d088702b44 100644
--- a/test-suite/Makefile
+++ b/test-suite/Makefile
@@ -250,8 +250,11 @@ $(addsuffix .log,$(wildcard bugs/closed/*.v)): %.v.log: %.v
# Unit tests
#######################################################################
+# COQLIBINSTALL is quoted in config/make thus we must unquote it,
+# otherwise the directory name will include the quotes, see
+# see for example https://stackoverflow.com/questions/10424645/how-to-convert-a-quoted-string-to-a-normal-one-in-makefile
ifeq ($(LOCAL),true)
- export OCAMLPATH := $(patsubst "%",%,$(COQLIBINSTALL))
+ export OCAMLPATH := $(shell echo $(COQLIBINSTALL))
endif
OCAMLOPT := $(OCAMLFIND) opt $(CAMLFLAGS)