Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Need a "do not strip" list, or better command-line arguments. #9

Closed
adamv opened this issue Aug 3, 2009 · 3 comments
Closed

Need a "do not strip" list, or better command-line arguments. #9

adamv opened this issue Aug 3, 2009 · 3 comments

Comments

@adamv
Copy link
Contributor

adamv commented Aug 3, 2009

Stripping the Python executable breaks the use of dlopen(), which breaks readline in the shell and "import readline", "import zlib", etc. in programs.

Either need a "do not strip list" on formulas so keg.clean can skip files, or possibly some better stripology so we can strip Python and not break it; I have no idea what some "good" arguments might be in this case.

@adamv
Copy link
Contributor Author

adamv commented Aug 3, 2009

Implemented as a callback in formula here: http://github.com/adamv/homebrew/commit/fac9c3429debe6cc9af8e031804deeaae851304b

@mxcl
Copy link
Contributor

mxcl commented Aug 3, 2009

Yeah agreed, I've seen stuff break on stripping before so I figured sooner or later this we'd need something like this.

@mxcl
Copy link
Contributor

mxcl commented Aug 10, 2009

The Formula.skip_clean? function can take any file or path and will avoid all clean operations for that path.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants