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

Adding explanation on why patchelf --shrink-rpath executed before strip will remove gcc dependency #249

Open
edmondop opened this issue Jun 9, 2024 · 0 comments

Comments

@edmondop
Copy link

edmondop commented Jun 9, 2024

The following snippet execute patchelf --shrink-path before strip.

find $out -type f -exec patchelf --shrink-rpath '{}' \; -exec strip '{}' \; 2>/dev/null

Shouldn't strip be executed before shrink-rpath, so debug information is removed by strip, and then shrink-rpath can remove gcc as a dependency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant