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

Allow the user to define the library search path for gmp.lib #28

Open
notdanilo opened this issue Mar 21, 2021 · 1 comment
Open

Allow the user to define the library search path for gmp.lib #28

notdanilo opened this issue Mar 21, 2021 · 1 comment

Comments

@notdanilo
Copy link

This is related to #25

We want to make it easier to the https://github.com/nash-io/openlimits users to use the library without worrying about compiling gmp copying and copying it to the expected path.

I just created a hacky build.rs to automatically copy the gmp.lib and gmp.dll files to the toolchain lib folder, but if the user doesn't want to use openlimits anymore and if the user forget about it, the user will leave both files in the folder.

I just found a reasonable solution for it in this stackoverflow answer https://stackoverflow.com/a/32868075 and I would love to see it implemented here.

@omershlo
Copy link
Contributor

thank you @notdanilo !
we chose to handle this by allowing a native rust support. see https://github.com/ZenGo-X/curv/pull/106/files
that said - if you can make a PR with your idea we will be happy to explore

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

2 participants