yonaskolb / Mint

A package manager that installs and runs executable Swift packages
MIT License
2.25k stars 121 forks source link

Makefile not Linux-compatible #230

Open mickeyl opened 2 years ago

mickeyl commented 2 years ago

Supplying the --arch options does not work on Linux, as there are no fat binaries there. swift build wants to invoke xcode-select when these options are given, which – of course – does not exist on Linux, hence the build fails.

I suggest wrapping this in a an os-specific if clause.