projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1856eb9
)
msgpack: fix static build
author
Baruch Siach
<baruch@tkos.co.il>
Tue, 17 Oct 2017 14:42:13 +0000
(17:42 +0300)
committer
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Tue, 17 Oct 2017 19:59:48 +0000
(21:59 +0200)
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 <spdawson@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/msgpack/msgpack.mk
patch
|
blob
|
history
diff --git
a/package/msgpack/msgpack.mk
b/package/msgpack/msgpack.mk
index 7b92f3f981d07ce4fe5a53f46d87abd611f9edf6..38df8f53af18f7159af3321838b3080510c67b97 100644
(file)
--- 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))