Skip to content

Commit 6abe670

Browse files
authored
Merge pull request #5 from TheLortex/remove-ctypes-hack
Remove ctypes include path hack
2 parents f190517 + e039665 commit 6abe670

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## dev
2+
3+
* Remove ctypes include path hack by using ctypes 0.3 / dune 3.7 (@TheLortex, #5)
4+
15
## v0.0.3 (2023-02-17)
26

37
* Add memory_size function (@crackcomm, #1)

dune-project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
(lang dune 3.3)
2-
(using ctypes 0.1)
1+
(lang dune 3.7)
2+
(using ctypes 0.3)
33

44
(name hdr_histogram)
55

hdr_histogram.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ doc: "https://ocaml-multicore.github.io/hdr_histogram_ocaml"
1111
bug-reports: "https://github.com/ocaml-multicore/hdr_histogram_ocaml/issues"
1212
depends: [
1313
"ocaml" {>= "4.08"}
14-
"dune" {>= "3.3"}
14+
"dune" {>= "3.7"}
1515
"ctypes" {>= "0.20.1"}
1616
"ctypes-foreign" {>= "0.18.0"}
1717
"conf-pkg-config" {build}

lib/dune

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@
1111
(deps hdr_histogram.h dllhdr_histogram.so libhdr_histogram.a)
1212
(build_flags_resolver
1313
(vendored
14-
; hack: multiple -I directives to work around cc commands being run from
15-
; different relative directories. Is there a cleaner way to do this?
16-
(c_flags :standard "-Ilib" "-I.")))
14+
(c_flags :standard "-I.")))
1715
(headers
1816
(include "hdr_histogram.h"))
1917
(type_description

0 commit comments

Comments
 (0)