package/kmsxx: don't install static libraries when BR2_SHARED_STATIC_LIBS=y
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Jan 2018 21:19:14 +0000 (22:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Jan 2018 21:19:14 +0000 (22:19 +0100)
commit28d5ca9c96f5144e86fac7ec6485fa5634cd6e97
tree0376493a59f675fd6e69a29cbb8eec05eaa16d3e
parent054a2f2e49ae1f69270e07d4a068179547a35388
package/kmsxx: don't install static libraries when BR2_SHARED_STATIC_LIBS=y

The kmsxx build system can only build either shared libraries *or*
static libraries, not both. Therefore, the build currently fails when
BR2_SHARED_STATIC_LIBS=y because we try to install the static
libraries, that haven't been built.

We fix this by not installing the static libraries when
BR2_SHARED_STATIC_LIBS=y, making BR2_SHARED_STATIC_LIBS=y essentially
the same as BR2_SHARED_LIBS=y for this package.

Fixes bug #10331.

Reported-by: Frederic MATHIEU <frederic.mathieu@dualis.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kmsxx/kmsxx.mk