mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00:00
Fix builds on M1 (#54)
This commit is contained in:
parent
0e1855526f
commit
a89f5740ba
|
@ -1,2 +1,8 @@
|
|||
[alias]
|
||||
prisma = "run -p prisma-cli --"
|
||||
prisma = "run -p prisma-cli --"
|
||||
|
||||
[target.x86_64-apple-darwin]
|
||||
rustflags = [
|
||||
"-C", "link-arg=-undefined",
|
||||
"-C", "link-arg=dynamic_lookup",
|
||||
]
|
||||
|
|
|
@ -35,6 +35,8 @@ Scan through our [existing issues](https://github.com/github/docs/issues) to fin
|
|||
|
||||
This project uses [Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) and [pnpm](https://pnpm.io/installation). Ensure you have them installed before continuing.
|
||||
|
||||
> Note: MacOS M1 users should choose the customize option in the rustup init script and enter `x86_64-apple-darwin` as the default host triple instead of the default `aarch64-apple-darwin`
|
||||
|
||||
- `$ git clone https://github.com/spacedriveapp/spacedrive`
|
||||
- For Linux or MacOS users run: `chmod +x ./.github/scripts/setup-system.sh && ./.github/scripts/setup-system.sh`
|
||||
- This will install FFMPEG and any other required dependencies for Spacedrive to build.
|
||||
|
|
Loading…
Reference in a new issue