Skip to content

Commit

Permalink
docs: Add clang to dependency list for building ROFL
Browse files Browse the repository at this point in the history
A discord user reported issue on fresh Ubuntu 24.04 that compiling
ROFL fails during the compilation of mbedtls-sys-auto crate, if clang
is not install on the host.
  • Loading branch information
matevz committed Oct 3, 2024
1 parent e890dd5 commit 1aff73d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/rofl/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,12 @@ rust environment:
rustup target add x86_64-unknown-linux-musl
```

Additionally, you will need the MUSL wrapper for gcc and the multilib package.
On Ubuntu/Debian systems, you can install it by running:
Additionally, you will need the MUSL wrapper for gcc, the multilib package and
clang for compiling the `mbedtls-sys-auto` dependency. On Ubuntu/Debian systems,
you can install those by running:

```shell
sudo apt install musl-tools gcc-multilib
sudo apt install musl-tools gcc-multilib clang
```

<!-- markdownlint-disable line-length -->
Expand Down

0 comments on commit 1aff73d

Please sign in to comment.