Skip to content

Protobuf: make default include path available to protoc when used from submodule #1263

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

Merged
merged 5 commits into from
Oct 28, 2023

Conversation

klokik
Copy link
Contributor

@klokik klokik commented Oct 20, 2023

Closes #1259

Protoc populates default proto_paths by searching for directories named include in its surroundings

This adds a dependency for protoc on creating a symlink to make such directory available.

Because FS module in meson does not provide a mechanism to create symlinks, a python script is used for this job.

@klokik klokik marked this pull request as ready for review October 20, 2023 10:29
@neheb neheb merged commit 1471dd8 into mesonbuild:master Oct 28, 2023
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.

Feature request: provide an import path to be used with protoc for compiling *.proto files
2 participants