Skip to content

Commit bd97d04

Browse files
authored
Document flags for building against system libraries (#1939)
Fixes: #1884
1 parent 67f4df5 commit bd97d04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ For example, building a 3.1.105 SDK on an x64 (aka x86\_64) platform running Fed
3636

3737
If you are interested in "installing" this SDK system wide or making a Linux package out of the SDK, please see [Packaging and Installation](packaging-installation.md).
3838

39+
`./build.{cmd|sh}` accepts a number of parameters to control the build.
40+
41+
- `/p:UseSystemLibraries=true` or `/p:UseSystemLibraries=false` can be used to explicitly link against the system libraries. `false` will make it `dlopen` any required libraries at runtime.
42+
43+
- `/p:UseSystemLibunwind=true` or `/p:UseSystemLibunwind=false` can be used to use either the system libunwind or the version of libunwind included in the dotnet/runtime repository. Defaults to the value of `UseSystemLibraries`.
44+
3945
## Building one repo
4046

4147
By default we build the cli and its dependencies but the default root repository to build can be passed in. For example, if you just want to build the .NET Core Runtime, you would just build the `core-setup` repo and its dependencies:

0 commit comments

Comments
 (0)