Skip to content

Commit

Permalink
ocaml: fix compatibility with ctypes 0.21.0 (#421)
Browse files Browse the repository at this point in the history
In ctypes < 0.21.0, the ctypes and ctypes.stubs libraries were installed
in the same directory, so depending on one would make the other one
visible.
ctypes 0.21.0 installs them in different directories so this makes it an
error.
hacl-star-raw uses ctypes.stubs so the dependency should be recorded.

Co-authored-by: Franziskus Kiefer <[email protected]>
  • Loading branch information
emillon and franziskuskiefer committed Jul 25, 2023
1 parent df9faee commit 81303b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/META
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name="hacl-star-raw"
version="0.7.1"
description="EverCrypt with Ctypes bindings"
requires="ctypes"
requires="ctypes ctypes.stubs"
archive(native)="ocamlevercrypt.cmxa"
archive(byte)="ocamlevercrypt.cma"

0 comments on commit 81303b8

Please sign in to comment.