Closed olafhering closed 4 years ago
@diml
any idea how to install the header file into ${libdir}/caml/
insteald of ${libdir}/${pkgname}
?
Other packages, like astrada/ocamlfuse@92ee0b29dca22a1a342e1c12bcfff14eeed43a43, use #include <caml/camlidlruntime.h>
and fail:
Fuse_util.c:36:10: fatal error: caml/camlidlruntime.h: No such file or directory
You can always install the files manually via an install
stanza and use (section lib_root)
:
(install
(section lib_root)
(files (camlidlruntime.h as caml/camlidlruntime.h)))
I apologize if I sound ungrateful, but I see no reason to switch CamlIDL to use dune. I think it would be problematic for some mature Windows-based projects that use CamlIDL and certainly don't want to install more dependencies just to be able to build CamlIDL.
No problem. I will upgrade this branch further to cover also Windows at some point, but I can not runtime test it.
I don't want to push for this, but just for the record, for OCaml users Dune is a smaller dependency than make
. Indeed, even on Windows the only dependency of Dune is a working OCaml compiler. In particular, you can build and use Dune directly from cmd.exe without anything else.
issues:
Signed-off-by: Olaf Hering olaf@aepfle.de