nanopb-runtime: Enable shared library

Some users would like to be able to share library code between multiple
applications without embedding a static copy.

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
William A. Kennington III
2024-02-09 16:59:20 -08:00
committed by Khem Raj
parent 30bb83b306
commit 341c47848d
@@ -2,6 +2,7 @@ require nanopb.inc
EXTRA_OECMAKE += " \
-Dnanopb_PROTOC_PATH=/bin/false \
-DBUILD_SHARED_LIBS=ON \
-Dnanopb_BUILD_RUNTIME=ON \
-Dnanopb_BUILD_GENERATOR=OFF \
"