File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ git clone https://github.com/kubernetes-client/c
1414CLIENT_REPO_ROOT=${PWD} /c
1515
1616# Install pre-requisites
17- sudo apt-get install libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify
17+ sudo apt-get install libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify cmake g++
1818
1919# Build pre-requisite: libyaml
2020git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
@@ -33,6 +33,10 @@ mkdir build
3333cd build
3434# If you don't need to debug the C client library:
3535cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
36+
37+ # To build a static linked client library:
38+ # cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_STATIC_LIBS=ON ..
39+
3640# If you want to use `gdb` to debug the C client library, add `-DCMAKE_BUILD_TYPE=Debug` to the cmake command line, e.g.
3741# cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local ..
3842make
You can’t perform that action at this time.
0 commit comments