Displaying 1 result from an estimated 1 matches for "test_ocaml_cflags".
2018 Nov 29
1
[nbdkit PATCH] ocaml: Make build VPATH aware
...c $<
+ $(OCAMLOPT) $(OCAMLOPTFLAGS) -c $< -o $@
NBDKit.o: NBDKit.cmx
# NB: libnbdkitocaml is not plugin. It's a library that you have to
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4e16fa9..94f3d43 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -517,7 +517,9 @@ test_ocaml_CFLAGS = \
test_ocaml_LDADD = libtest.la $(LIBGUESTFS_LIBS)
check_SCRIPTS += test-ocaml-plugin.so
-test-ocaml-plugin.so: test_ocaml_plugin.ml ../plugins/ocaml/libnbdkitocaml.la ../plugins/ocaml/NBDKit.cmi ../plugins/ocaml/NBDKit.cmx
+test_ocaml_plugin.cmx: test_ocaml_plugin.ml
+ $(OCAMLOPT) $(OCAMLOPTF...