Skip to content

Commit 20cc76c

Browse files
authored
Update README.md
Add documentation on how to build a static library.
1 parent 7726169 commit 20cc76c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ To `configure` the project:
7474
meson .build
7575
```
7676

77+
Which will default to build a shared library. To configure for static libraries call
78+
79+
```
80+
meson .build --default-library=static
81+
```
82+
7783
One nice feature of meson is that it doesn't mix build artifacts
7884
(e.g. `*.o`, `*.so`, etc.) with source code. In the above example,
7985
"`.build`" is the name of the directory where the build configuration

0 commit comments

Comments
 (0)