meson: use library() instead of shared_library().
authorFang Tan <tanfang@uniontech.com>
Tue, 9 Mar 2021 08:14:36 +0000 (16:14 +0800)
committerFang Tan <tanfang@uniontech.com>
Tue, 9 Mar 2021 08:57:32 +0000 (16:57 +0800)
commit52f05d3d896480ee5431dcd444f53bb2a8e41cce
treedc6faf32683f07e77fdc9c3415e3e4de33a6cdba
parent7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476
meson: use library() instead of shared_library().

This allows users to select the library type (static or shared)
using the Meson -Ddefault_library built-in option.

Issue: https://gitlab.freedesktop.org/mesa/drm/-/issues/45

Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Fang Tan <tanfang@uniontech.com>
amdgpu/meson.build
etnaviv/meson.build
exynos/meson.build
freedreno/meson.build
intel/meson.build
libkms/meson.build
meson.build
nouveau/meson.build
omap/meson.build
radeon/meson.build
tegra/meson.build