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

Automatically detect 'depends' by inspecting the included library #183

Open
virtuald opened this issue Dec 18, 2022 · 0 comments
Open

Automatically detect 'depends' by inspecting the included library #183

virtuald opened this issue Dec 18, 2022 · 0 comments

Comments

@virtuald
Copy link
Member

  • On Linux, pyelftools can be used to find library dependencies
  • On Windows, pefile can be used to find DLL dependencies
  • On OSX, delocate can be used to find dylib dependencies

An implementation of this would figure out the dependency at build time by using pkgcfg to figure out what robotpy-build libraries are already available. The relink_libs functionality already has the code to do much of the pkgcfg stuff since it has to do exactly this.

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