From ef61d3885ffc40d50a90213e20ffd356b28d66bb Mon Sep 17 00:00:00 2001 From: Jonah Beckford <9566106-jonahbeckford@users.noreply.gitlab.com> Date: Sat, 12 Feb 2022 20:35:03 -0800 Subject: [PATCH] Install ocaml_integers.h --- src/ctypes/dune | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ctypes/dune b/src/ctypes/dune index b03dc28a..1ceda3a2 100644 --- a/src/ctypes/dune +++ b/src/ctypes/dune @@ -3,6 +3,11 @@ ctypes_primitives.ml (run ../configure/gen_c_primitives.exe))) +(rule + (deps (:header %{lib:integers:ocaml_integers.h})) + (target ocaml_integers.h) + (action (copy %{header} %{target}))) + (library (name ctypes) (public_name ctypes) @@ -14,7 +19,8 @@ (install_c_headers ctypes_raw_pointer ctypes_primitives ctypes_cstubs_internals ctypes_managed_buffer_stubs ctypes_complex_compatibility cstubs_internals ctypes_ldouble_stubs - ctypes_complex_stubs ctypes_type_info_stubs) + ctypes_complex_stubs ctypes_type_info_stubs + ocaml_integers) (foreign_stubs (language c) (names complex_stubs ctypes_bigarrays ctypes_roots ldouble_stubs