mirror of
https://github.com/NixOS/patchelf.git
synced 2025-10-18 09:01:23 +08:00
Add Meson build instructions
Also fix CMake instructions indent level
This commit is contained in:
12
README.md
12
README.md
@@ -81,7 +81,7 @@ make check
|
|||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Via [CMake](https://cmake.org/) (and [Ninja](https://ninja-build.org/))
|
### Via [CMake](https://cmake.org/) (and [Ninja](https://ninja-build.org/))
|
||||||
|
|
||||||
```console
|
```console
|
||||||
mkdir build
|
mkdir build
|
||||||
@@ -91,6 +91,16 @@ ninja all
|
|||||||
sudo ninja install
|
sudo ninja install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Via [Meson](https://mesonbuild.com/) (and [Ninja](https://ninja-build.org/))
|
||||||
|
|
||||||
|
```console
|
||||||
|
mkdir build
|
||||||
|
meson configure build
|
||||||
|
cd build
|
||||||
|
ninja all
|
||||||
|
sudo ninja install
|
||||||
|
```
|
||||||
|
|
||||||
### Via Nix
|
### Via Nix
|
||||||
|
|
||||||
You can build with Nix in several ways.
|
You can build with Nix in several ways.
|
||||||
|
Reference in New Issue
Block a user