From: Baruch Siach Date: Tue, 17 Oct 2017 14:42:13 +0000 (+0300) Subject: msgpack: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c02f70a204ed3772950641aae349925afd7f6f3;p=buildroot.git msgpack: fix static build Disabled shared libraries when building static only. Fixes: http://autobuild.buildroot.net/results/057/057d72bc84c467973ec3c076f5d8108e02d6e283/ http://autobuild.buildroot.net/results/499/499069f6821ddd2dcb83201b017a58eae00ebe16/ http://autobuild.buildroot.net/results/499/499069f6821ddd2dcb83201b017a58eae00ebe16/ Cc: Simon Dawson Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- diff --git a/package/msgpack/msgpack.mk b/package/msgpack/msgpack.mk index 7b92f3f981..38df8f53af 100644 --- a/package/msgpack/msgpack.mk +++ b/package/msgpack/msgpack.mk @@ -11,4 +11,8 @@ MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt MSGPACK_INSTALL_STAGING = YES MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF +ifeq ($(BR2_STATIC_LIBS),y) +MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF +endif + $(eval $(cmake-package))