dbuenzli / tgls

Thin bindings to OpenGL {3,4} and OpenGL ES {2,3} for OCaml
http://erratique.ch/software/tgls/
ISC License
54 stars 7 forks source link

ctypes: depend explicitly on ctypes.foreign #29

Closed emillon closed 1 year ago

emillon commented 1 year ago

In ctypes < 0.21.0, the ctypes and ctypes.foreign 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. tgls actually uses ctypes.foreign so this adds the dependency.

dbuenzli commented 1 year ago

Thank you! Your patch is in as eda88cff8d2197eb47