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

Fix installation of statically linked executable for ELF binary. #1240

Merged
merged 1 commit into from
Dec 21, 2016

Conversation

mgautierfr
Copy link
Contributor

At installation, if the executable is a ELF file, we try to fix the
dependencies in the binary section.
If a executable has been compiled with the --static flag, there is
no .dynamic section in the ELF binary and so we need to handle this case.

The print_soname(self) method seems to not been used anywhere, so I'm not sure how to modify it.
(Just print a message (as I've done), print nothing, raise a error...)

@nirbheek nirbheek modified the milestone: 0.37.1 Dec 20, 2016
@nirbheek
Copy link
Member

Not a regression, so it'll go into the 0.38.0 release after review.

@nirbheek nirbheek added this to the 0.38.0 milestone Dec 20, 2016
@jpakkane
Copy link
Member

Looks nice, thanks. Please add yourself at the end of authors.txt and we'll get this merged.

At installation, if the executable is a ELF file, we try to fix the
dependencies in the binary section.
If a executable has been compiled with the --static flag, there is
no .dynamic section in the ELF binary and so we need to handle this case.
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.

None yet

3 participants