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

Allow getting output shared libraries #535

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

Conversation

ruwi-next
Copy link
Contributor

Hi

Native image can output shared libraries along with the native native binary. These are placed in the output directory next to the binary executable, but I could not find a way of collecting these files.

I wanted to be able to detect the files that native image would output and declare those as outputs but I wasn't able to figure out that. It seems that the libraries that are produced are determined by the code written and so we cannot determine this just by inspecting the command we are invoking.

Instead I exposed an attr so the user can specify the extra files they expect to be generated. This is probably not ideal but it works for my use case.

Any feedback is appreciated.

@ruwi-next ruwi-next requested a review from sgammon as a code owner December 20, 2024 10:34
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.

1 participant