Skip to content

Commit ae0d7ed

Browse files
committed
fix env var package.json
1 parent 27aee49 commit ae0d7ed

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@
88
],
99
"license": "LicenseRef-LICENSE",
1010
"esy": {
11-
"buildsInSource": true,
1211
"build": [
13-
"./configure --prefix #{self.target_dir}",
12+
"echo host x86_64-w64-mingw32 can change in future",
13+
"#{self.root}/configure --host=x86_64-w64-mingw32 --prefix #{self.install} --exec-prefix #{self.install} --bindir #{self.install}/bin --libdir #{self.install}/lib --with-ocamldir=#{self.install}/lib/ocaml --datarootdir #{self.install}/share --mandir #{self.install}/share/man",
1414
"make"
1515
],
16-
"install": "make install"
16+
"install": "make install",
17+
"exportedEnv": {
18+
"PATH": {
19+
"val": "#{self.bin : $PATH}",
20+
"scope": "global"
21+
}
22+
}
1723
},
1824
"dependencies": {
1925
"@opam/ocamlfind": "*",

0 commit comments

Comments
 (0)