summaryrefslogtreecommitdiff
path: root/omap
diff options
context:
space:
mode:
authorFang Tan <tanfang@uniontech.com>2021-03-09 16:14:36 +0800
committerFang Tan <tanfang@uniontech.com>2021-03-09 16:57:32 +0800
commit52f05d3d896480ee5431dcd444f53bb2a8e41cce (patch)
treedc6faf32683f07e77fdc9c3415e3e4de33a6cdba /omap
parent7d6a1759900ffde0a7aac2fa0cbd7c2bf4989476 (diff)
downloaddrm-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 'omap')
-rw-r--r--omap/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/omap/meson.build b/omap/meson.build
index 53330b61..bfd59f05 100644
--- a/omap/meson.build
+++ b/omap/meson.build
@@ -18,7 +18,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-libdrm_omap = shared_library(
+libdrm_omap = library(
'drm_omap',
[files('omap_drm.c'), config_file],
include_directories : [inc_root, inc_drm],