Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand esy command expressions in pesy config #177

Open
ManasJayanth opened this issue Sep 10, 2020 · 0 comments
Open

Expand esy command expressions in pesy config #177

ManasJayanth opened this issue Sep 10, 2020 · 0 comments

Comments

@ManasJayanth
Copy link
Member

Using the trick used to figure out library path of an imported library, we could also determine other variables like #{@opam/zarith.lib}, #{@opam/zarith.etc} etc - paths in the install tree of a given package.

If needed, paths in the source tree can be looked up in _esy/installation.json

This will allow pesy configs like

{
  "flags": ["-ccopt -L#{esy-zlib.lib} -lz"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant