Skip to content

Commit 87426fa

Browse files
committed
Fix build with dune 3.6
Releasing dune 3.6 revealed a regression on hdr_histogram (it builds with 3.5 but not 3.6). After investigating, it seems to be an issue with the dune file in hdr_histogram: `:standard` was missing from the `(c_flags)` field. Adding it ensures this build with 3.6 too. References: - <ocaml/opam-repository#22498> - <ocaml/dune#6481>
1 parent 3158825 commit 87426fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
(vendored
1313
; hack: multiple -I directives to work around cc commands being run from
1414
; different relative directories. Is there a cleaner way to do this?
15-
(c_flags ("-Ilib" "-I."))))
15+
(c_flags :standard "-Ilib" "-I.")))
1616
(headers (include "hdr_histogram.h"))
1717
(type_description
1818
(instance Type)

0 commit comments

Comments
 (0)