meson: Add support for building rlottie as a static library 05/210405/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 18 Jul 2019 07:55:23 +0000 (16:55 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Fri, 19 Jul 2019 01:12:23 +0000 (10:12 +0900)
Change-Id: Iabe1611e27d864a9c7aef2681445e6c68ccb941e

src/meson.build

index d8dd0f3..3bcd609 100644 (file)
@@ -13,14 +13,14 @@ subdir('binding')
 
 rlottie_lib_dep  = [ vector_dep, lottie_dep, binding_dep, dependency('threads')]
 
-rlottie_lib = shared_library('rlottie',
-                             include_directories : inc,
-                             version             : meson.project_version(),
-                             dependencies        : rlottie_lib_dep,
-                             install             : true,
-                             cpp_args            : compiler_flags,
-                             gnu_symbol_visibility : 'hidden',
-                            )
+rlottie_lib = library('rlottie',
+                      include_directories   : inc,
+                      version               : meson.project_version(),
+                      dependencies          : rlottie_lib_dep,
+                      install               : true,
+                      cpp_args              : compiler_flags,
+                      gnu_symbol_visibility : 'hidden',
+                     )
 
 # Make rlottie library usable as a Meson subproject.
 rlottie_dep = declare_dependency(