summaryrefslogtreecommitdiffstats
path: root/src/ocaml-core.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/ocaml-core.mk')
-rw-r--r--src/ocaml-core.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ocaml-core.mk b/src/ocaml-core.mk
index d587716..eb255ce 100644
--- a/src/ocaml-core.mk
+++ b/src/ocaml-core.mk
@@ -113,10 +113,10 @@ define $(PKG)_BUILD
done
# test ocamlopt
- cp '$(2).ml' '$(1)/test.ml'
+ cp '$(TEST_FILE)' '$(1)/test.ml'
cd '$(1)' && '$(TARGET)-ocamlopt' test.ml
# test ocamlbuild from package ocaml-native, now that ocamlopt works
- mkdir '$(1)/tmp' && cp '$(2).ml' '$(1)/tmp/test.ml'
+ mkdir '$(1)/tmp' && cp '$(TEST_FILE)' '$(1)/tmp/test.ml'
cd '$(1)/tmp' && $(TARGET)-ocamlbuild test.native
endef