mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
cjson: add comment explaining how BUILD_SHARED_AND_STATIC_LIBS works
This was missing in commit aca8412ce2
("cjson: build shared and static library").
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -15,6 +15,9 @@ CJSON_CONF_OPTS += \
|
|||||||
-DENABLE_CJSON_TEST=OFF \
|
-DENABLE_CJSON_TEST=OFF \
|
||||||
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF
|
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF
|
||||||
|
|
||||||
|
# If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the
|
||||||
|
# standard BUILD_SHARED_LIBS option which is passed by the
|
||||||
|
# cmake-package infrastructure.
|
||||||
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||||
CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=ON
|
CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=ON
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user