[libsoup/wip/meson: 92/93] Build libsoup and libsoup-gnome as shared libraries



commit 6e59438fb7c090828760d4544bacbe14d81ba858
Author: Tomas Popela <tpopela redhat com>
Date:   Thu Feb 15 16:09:50 2018 +0100

    Build libsoup and libsoup-gnome as shared libraries
    
    Otherwise we should skip the generation of introspection and vapi if
    libsoup is going to be compiled as static.

 libsoup/meson.build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 279fead..6a120fe 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -195,7 +195,7 @@ deps = [
   platform_deps
 ]
 
-libsoup = library('soup-@0@'.format(apiversion), soup_sources,
+libsoup = shared_library('soup-@0@'.format(apiversion), soup_sources,
   soup_enums, tlddata,
   version : libversion,
   soversion : soversion,
@@ -232,7 +232,7 @@ if enable_gnome
     soup_gnome_headers + ['soup-gnome.h', 'soup-gnome-features.h'],
     subdir : includedir)
 
-  libsoup_gnome = library(soup_gnome_api_name, soup_gnome_sources,
+  libsoup_gnome = shared_library(soup_gnome_api_name, soup_gnome_sources,
     version : libversion,
     soversion : soversion,
     c_args : libsoup_c_args,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]