Skip to content

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

@edmondop

Description

@edmondop

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions