From fc03ea4816264ca9f900b42dda2b369209cb8543 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 21 Feb 2017 17:27:04 +0000 Subject: [PATCH] docs/building.md: add note about forcing a static build of mraa Signed-off-by: Brendan Le Foll --- docs/building.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/building.md b/docs/building.md index c73a912..6cfa245 100644 --- a/docs/building.md +++ b/docs/building.md @@ -106,6 +106,9 @@ You can also enable -Wall for gcc before running cmake by exporting your wanted CC flags to the CC env var `export CC="gcc -Wall"` +Sometimes it's nice to build a static libary, on Linux systems just set + `-DBUILD_SHARED_LIBS=OFF` + ## Dependencies continued You'll need at least SWIG version 3.0.2 and we recommend 3.0.5 to build the