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

Please support LDFLAGS #647

Closed
simonjwright opened this issue Mar 24, 2023 · 2 comments
Closed

Please support LDFLAGS #647

simonjwright opened this issue Mar 24, 2023 · 2 comments

Comments

@simonjwright
Copy link

simonjwright commented Mar 24, 2023

This is mainly triggered by use on macOS via Alire.

On macOS, we have to use relocatable builds because static SALs don’t work (gprbuild issue 97), and this means that we need to provide libgmp.dylib.

The macOS compilers available via Alire don’t search /usr/local by default, which means that we have to tell gprbuild where to look, and the only obvious mechanism is via LDFLAGS.

Please see also libadalang issue 958.

@simonjwright
Copy link
Author

As in libadalang #958 I recommend re-closing this.

@pmderodat
Copy link
Member

Understood, thank you!

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

3 participants