Displaying 4 results from an estimated 4 matches for "ocamllib_data".
2018 Dec 07
2
[nbdkit PATCH] build: Install ocaml files relative to --prefix
...insertion(+), 1 deletion(-)
diff --git a/plugins/ocaml/Makefile.am b/plugins/ocaml/Makefile.am
index b95f255..bbde5e1 100644
--- a/plugins/ocaml/Makefile.am
+++ b/plugins/ocaml/Makefile.am
@@ -39,7 +39,7 @@ EXTRA_DIST = \
if HAVE_OCAML
-ocamllibdir = $(OCAMLLIB)
+ocamllibdir = $(libdir)/ocaml
ocamllib_DATA = NBDKit.mli NBDKit.cmi NBDKit.cmx NBDKit.o
NBDKit.cmi: NBDKit.mli
--
2.17.2
2018 Nov 29
1
[nbdkit PATCH] ocaml: Make build VPATH aware
...++--
tests/Makefile.am | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/plugins/ocaml/Makefile.am b/plugins/ocaml/Makefile.am
index 484d041..b95f255 100644
--- a/plugins/ocaml/Makefile.am
+++ b/plugins/ocaml/Makefile.am
@@ -43,10 +43,10 @@ ocamllibdir = $(OCAMLLIB)
ocamllib_DATA = NBDKit.mli NBDKit.cmi NBDKit.cmx NBDKit.o
NBDKit.cmi: NBDKit.mli
- $(OCAMLC) -c $<
+ $(OCAMLC) -c $< -o $@
NBDKit.cmx: NBDKit.ml NBDKit.cmi
- $(OCAMLOPT) $(OCAMLOPTFLAGS) -c $<
+ $(OCAMLOPT) $(OCAMLOPTFLAGS) -c $< -o $@
NBDKit.o: NBDKit.cmx
# NB: libnbdkitocaml is not plugin....
2018 Dec 07
0
Re: [nbdkit PATCH] build: Install ocaml files relative to --prefix
.../ocaml/Makefile.am b/plugins/ocaml/Makefile.am
> index b95f255..bbde5e1 100644
> --- a/plugins/ocaml/Makefile.am
> +++ b/plugins/ocaml/Makefile.am
> @@ -39,7 +39,7 @@ EXTRA_DIST = \
>
> if HAVE_OCAML
>
> -ocamllibdir = $(OCAMLLIB)
> +ocamllibdir = $(libdir)/ocaml
> ocamllib_DATA = NBDKit.mli NBDKit.cmi NBDKit.cmx NBDKit.o
>
> NBDKit.cmi: NBDKit.mli
I'm actually one of the authors of m4/ocaml.m4. Could that file be
fixed to provide a better $(OCAMLLIB)?
I suspect however the answer will be no. Because what we're really
getting is the output of ‘ocamlc -w...
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here:
https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib
After a lot of work I have made the port to Windows work without using
a separate library. Instead, on Windows only, we build an "import
library" (library of stubs) which resolves references to nbdkit_*
functions in the main program and fixes up the plugin, basically the
first technique outlined in