aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kempin <denniskempin@google.com>2021-09-03 09:44:42 -0700
committerGurchetan Singh <gurchetansingh@chromium.org>2021-09-07 19:04:15 +0000
commitc2fc38f9938ce978865054db99194f762f0d9bf0 (patch)
tree706441f6e61b82982cb36def162632ef330dd022
parentbdcfbd0e6758b37e1ea93b75d2abca7aa678f808 (diff)
downloadvirglrenderer-c2fc38f9938ce978865054db99194f762f0d9bf0.tar.gz
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.
-rw-r--r--src/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meson.build b/src/meson.build
index efeea85c..ac8df76d 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],