From c2fc38f9938ce978865054db99194f762f0d9bf0 Mon Sep 17 00:00:00 2001 From: Dennis Kempin Date: Fri, 3 Sep 2021 09:44:42 -0700 Subject: [PATCH] Allow static library build of virglrenderer Using the 'library' rule instead of 'shared_library' will allow callers to switch between static and shared library builds using the default_library config. It defaults to shared, so the default behavior is the same as before. --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index efeea85..ac8df76 100644 --- a/src/meson.build +++ b/src/meson.build @@ -184,7 +184,7 @@ libvirgl_dep = declare_dependency( include_directories: libvirgl_inc ) -libvirglrenderer = shared_library( +libvirglrenderer = library( 'virglrenderer', virglrenderer_sources, include_directories: [inc_gallium, inc_configuration],