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

Use GNU tar on Darwin to fix build error #188

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Conversation

sryze
Copy link
Contributor

@sryze sryze commented Oct 30, 2022

On macOS tar doesn't support the --transform flag, but one can install the GNU version of it via brew install gnu-tar and call it via gtar. So all I did was to replace tar with gtar on macOS.

I'm not sure if this is a good solution as it involves installation of external dependency and having Homebrew installed as well. Perhaps a better fix would be to create a $(NAMEVER) directory, copy binaries there and tar that directory instead for maximum cross-compatibility.

@dundee
Copy link
Owner

dundee commented Oct 31, 2022

It's not just binaries, we would need to copy all source code as well. I think this fix is good enough for now.

@dundee dundee merged commit 133f991 into dundee:master Oct 31, 2022
@dundee
Copy link
Owner

dundee commented Oct 31, 2022

Thank you for your PR!

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