libmatroska: properly support static-only build
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Sep 2014 14:10:27 +0000 (16:10 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 6 Sep 2014 20:16:30 +0000 (22:16 +0200)
commit3c11ced46aed9ad42c32397b653e2a4cebd22d2e
treede01b34fb3cd35be5adab194c1a480354c71bc85
parent0b29df3f1941adea0d9e7a76171594222e9ab0e1
libmatroska: properly support static-only build

This is similar to commit 9cef35b68f33ac1f332784fdfef61d3904c7db41 on
libebml, since libmatroska uses the same Makefile logic as libebml. It
makes sure BR2_PREFER_STATIC_LIB=y succeed by not building the shared
library in this case.

Fixes:

  http://autobuild.buildroot.org/results/12e/12e752330b30adb5078acd72a548cc172fa9ecb8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libmatroska/libmatroska.mk