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

Default imports are not imported by default #27

Open
LehMaxence opened this issue Jan 27, 2022 · 0 comments
Open

Default imports are not imported by default #27

LehMaxence opened this issue Jan 27, 2022 · 0 comments

Comments

@LehMaxence
Copy link
Contributor

capnproto sets the default imports location at build time through the CAPNP_INCLUDE_DIR symbol definition. This symbol is set by autotool (and cmake) to the absolute path $PREFIX/include, this hampers the relocatability of the capnp binary.

Current workaround is to re-include the default imports location when needed, e.g.:
capnpc -I"$CONDA_PREFIX/include" <..>

Note:
conda-build replaces the $PREFIX in files by a placeholder so that it gets replace by the correct value at install time, but this doesn't work for the binary as it created string length issues.

This issue is related to the one here: capnproto/capnproto#1062

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