Skip to content

Commit

Permalink
ocaml-windows{32,64}: install ocaml synlink
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jun 30, 2023
1 parent 6cd5d2a commit 103acce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ make install installopt RUNTIMED=false INSTRUMENTED_RUNTIME=false

cp -rf compilerlibs/*.cmxa compilerlibs/*.a "${PREFIX}/windows-sysroot/lib/ocaml/compiler-libs"

for bin in ocamlc ocamlopt ocamlcp ocamlmklib ocamlmktop ocamldoc ocamldep; do
for bin in ocaml ocamlc ocamlopt ocamlcp ocamlmklib ocamlmktop ocamldoc ocamldep; do
cat >"${PREFIX}/windows-sysroot/bin/${bin}" <<END
#!/bin/sh
export PATH=${FLEXDLL_PATH}:\$PATH
Expand Down
2 changes: 1 addition & 1 deletion packages/ocaml-windows32/ocaml-windows32.4.14.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ synopsis: "OCaml cross-compiler for 32-bit x86 Windows targets"
extra-files: [
["windows.conf.in" "md5=69f2a64db241a28e172eb316ddd9cef1"]
["build.sh" "md5=566d7b331a1a33d1f6c801f2d2ea2b35"]
["install.sh" "md5=b29c14dc873ecdaea04589061d6da7dd"]
["install.sh" "md5=1935c48b6df9c902c73b287b71ed1e76"]
["patches/ostype-fix.patch" "md5=05919aebf4e0894bf8f0bc60a6932b46"]
["patches/configure.patch" "md5=2947eb1d16daec3d35f769093574249f"]
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ make install installopt RUNTIMED=false INSTRUMENTED_RUNTIME=false

cp -rf compilerlibs/*.cmxa compilerlibs/*.a "${PREFIX}/windows-sysroot/lib/ocaml/compiler-libs"

for bin in ocamlc ocamlopt ocamlcp ocamlmklib ocamlmktop ocamldoc ocamldep; do
for bin in ocaml ocamlc ocamlopt ocamlcp ocamlmklib ocamlmktop ocamldoc ocamldep; do
cat >"${PREFIX}/windows-sysroot/bin/${bin}" <<END
#!/bin/sh
export PATH=${FLEXDLL_PATH}:\$PATH
Expand Down
2 changes: 1 addition & 1 deletion packages/ocaml-windows64/ocaml-windows64.4.14.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ synopsis: "OCaml cross-compiler for 64-bit x86 Windows targets"
extra-files: [
["windows.conf.in" "md5=69f2a64db241a28e172eb316ddd9cef1"]
["build.sh" "md5=566d7b331a1a33d1f6c801f2d2ea2b35"]
["install.sh" "md5=b29c14dc873ecdaea04589061d6da7dd"]
["install.sh" "md5=1935c48b6df9c902c73b287b71ed1e76"]
["patches/ostype-fix.patch" "md5=05919aebf4e0894bf8f0bc60a6932b46"]
["patches/configure.patch" "md5=2947eb1d16daec3d35f769093574249f"]
]
Expand Down

0 comments on commit 103acce

Please sign in to comment.