Skip to content

Conversation

@StanWijn
Copy link

The hardcoded strip --strip-debug command fails on non-GNU systems like macOS, which use a different syntax. The version of strip included with Apple's Command Line Tools doesn't recognize the --strip-debug option.

This commit replaces the custom command with the R-provided $(STRIP_LIBS) variable, allowing the build system to use the platform-specific command.

@mclements
Copy link
Owner

Thank you for bringing this issue to my attention.

Your code did not strip the file on Linux. Given that stripping is not portable across implementations (and it only reduces the file size by 50%), I propose removing the stripping from the Makevars -- and that I then close this pull request.

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.

2 participants