search for: ocamllibdir

Displaying 6 results from an estimated 6 matches for "ocamllibdir".

2018 Dec 07
2
[nbdkit PATCH] build: Install ocaml files relative to --prefix
...; --- plugins/ocaml/Makefile.am | 2 +- 1 file changed, 1 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 Dec 07
0
Re: [nbdkit PATCH] build: Install ocaml files relative to --prefix
...anged, 1 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 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...
2018 Nov 29
1
[nbdkit PATCH] ocaml: Make build VPATH aware
...gins/ocaml/Makefile.am | 4 ++-- 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: li...
2018 Dec 07
2
[nbdkit PATCH] build: Allow 'make install' into non-root --prefix: bash-completion
...the non-root --prefix. 'make distcheck' still doesn't pass for me; the next failure is due to attempts to overwrite root-owned ocaml files. Similar symptoms as what this patch addressed for bashcompsdir, but there we aren't using pkg-config --variable. Instaed, our definition of ocamllibdir (based on ${OCAMLLIB} in m4/ocaml.m4) is coming from 'ocamlc -where', and I have no idea how to coerce that to print a relative pathname, or even if it is common to have ocaml libraries installed in a non-root home directory but which can still be picked up by ocaml at runtime. configure....
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
...deleted as expected within -the disk image. See C<V2v_test_harness.mli> for more information on +the disk image. See F<V2v_test_harness.mli> for more information on how to do that. =head2 FILES GENERATED BY RUNNING THE TEST @@ -243,7 +243,7 @@ disk space. =over 4 -=item C<$ocamllibdir/v2v_test_harness/v2v_test_harness.mli> +=item F<$ocamllibdir/v2v_test_harness/v2v_test_harness.mli> The test library interface. Read this for detailed programming documentation. diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod index b49de61..f5dfe24 100644 --- a/v2v/virt-v2v.pod +++ b...
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