Skip to content

std.Build: propagate added (system) library paths from dependencies #23936

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GalaxyShard
Copy link
Contributor

System libraries are already propagated in the same manner; it makes sense to additionally propagate the directories in which they are specified to be found (addLibraryPath).

Fair warning, I'm not all that familiar with the intricacies of linking, so I can't be sure if this small change has some implications I haven't considered yet.

System libraries are already propagated; it makes sense
to additionally propagate the directories in which they
are specified to be found.
@alexrp
Copy link
Member

alexrp commented May 20, 2025

Do we also need to do this for include paths, or is that done already?

@GalaxyShard
Copy link
Contributor Author

Do we also need to do this for include paths, or is that done already?

I believe this is already done for installed/exposed include paths and headers (installHeader & installHeadersDirectory) when calling linkLibrary.

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

Successfully merging this pull request may close these issues.

2 participants