diff options
author | Fang Tan <tanfang@uniontech.com> | 2021-03-09 16:14:36 +0800 |
---|---|---|
committer | Fang Tan <tanfang@uniontech.com> | 2021-03-09 16:57:32 +0800 |
commit | 52f05d3d896480ee5431dcd444f53bb2a8e41cce (patch) | |
tree | dc6faf32683f07e77fdc9c3415e3e4de33a6cdba /nouveau | |
parent | 7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 (diff) | |
download | drm-52f05d3d896480ee5431dcd444f53bb2a8e41cce.tar.gz |
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>
Diffstat (limited to 'nouveau')
-rw-r--r-- | nouveau/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/meson.build b/nouveau/meson.build index 9bd58fca..af45336c 100644 --- a/nouveau/meson.build +++ b/nouveau/meson.build @@ -19,7 +19,7 @@ # SOFTWARE. -libdrm_nouveau = shared_library( +libdrm_nouveau = library( 'drm_nouveau', [files( 'nouveau.c', 'pushbuf.c', 'bufctx.c', 'abi16.c'), config_file], c_args : libdrm_c_args, |