Skip to content

Commit 95356ef

Browse files
committed
Add missing OCAMLTOP_INCLUDE_PATH
1 parent 292f309 commit 95356ef

File tree

1 file changed

+3
-0
lines changed
  • packages/ocaml/ocaml.5.4.0

1 file changed

+3
-0
lines changed

packages/ocaml/ocaml.5.4.0/opam

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ depends: [
1313
"dkml-base-compiler" {>= "5.4.0~" & < "5.4.1~"}
1414
]
1515
setenv: [
16+
[OCAMLTOP_INCLUDE_PATH += "%{toplevel}%"]
1617
[CAML_LD_LIBRARY_PATH = "%{_:stubsdir}%"]
1718
[CAML_LD_LIBRARY_PATH += "%{lib}%/stublibs"]
19+
# Legacy opam variable
1820
[OCAML_TOPLEVEL_PATH = "%{toplevel}%"]
1921
]
2022
x-env-path-rewrite: [
2123
[CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
24+
[OCAMLTOP_INCLUDE_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
2225
]
2326
build: ["ocaml" "%{ocaml-config:share}%/gen_ocaml_config.ml" _:version _:name]
2427
build-env: [

0 commit comments

Comments
 (0)