build: use shared_module instead of shared_library
authorVincent Torri <vincent.torri@gmail.com>
Wed, 19 Aug 2020 04:55:22 +0000 (06:55 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 23 Aug 2020 21:20:53 +0000 (06:20 +0900)
src/vector/stb/meson.build

index 49be076..128114f 100644 (file)
@@ -3,14 +3,14 @@ source_file = ['stb_image.cpp']
 
 if get_option('module') == true
     rlottie_image_loader_dir = get_option('moduledir') != '' ? get_option('moduledir') : get_option('libdir')
-    rlottie_image_loader_lib = shared_library('rlottie-image-loader',
-                                              source_file,
-                                              include_directories : [include_directories('.'), config_dir],
-                                              install : true,
-                                              install_dir : rlottie_image_loader_dir,
-                                              cpp_args : compiler_flags,
-                                              gnu_symbol_visibility : 'hidden',
-                                             )
+    rlottie_image_loader_lib = shared_module('rlottie-image-loader',
+                                             source_file,
+                                             include_directories : [include_directories('.'), config_dir],
+                                             install : true,
+                                             install_dir : rlottie_image_loader_dir,
+                                             cpp_args : compiler_flags,
+                                             gnu_symbol_visibility : 'hidden',
+                                            )
     cc = meson.get_compiler('cpp')
     stb_dep = cc.find_library('dl', required : false)
 else