[libsoup/wip/meson: 30/31] Soup enums are not generated early



commit 2220ad3867e977808f957b2b36e94cc069758129
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Nov 6 10:31:09 2017 +0100

    Soup enums are not generated early
    
    Add them to the libsoup dependency so other targets can use libsoup_dep
    that is actually not broken.

 libsoup/meson.build |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libsoup/meson.build b/libsoup/meson.build
index 93a61a0..5cf056a 100644
--- a/libsoup/meson.build
+++ b/libsoup/meson.build
@@ -188,7 +188,7 @@ deps = [
 ]
 
 libsoup = library('soup-@0@'.format(apiversion), soup_sources,
-  soupenum_h, soupenum_c, tlddata,
+  soup_enums, tlddata,
   version : libversion,
   soversion : soversion,
   c_args : libsoup_c_args,
@@ -198,7 +198,8 @@ libsoup = library('soup-@0@'.format(apiversion), soup_sources,
 )
 
 libsoup_dep = declare_dependency(link_with : libsoup,
-  include_directories : configinc)
+  include_directories : configinc,
+  sources : soup_enums)
 
 if cdata.get('BUILD_LIBSOUP_GNOME')
   includedir = 'libsoup-gnome-@0@/libsoup'.format(apiversion)
@@ -212,7 +213,7 @@ if cdata.get('BUILD_LIBSOUP_GNOME')
     c_args : libsoup_c_args,
     include_directories : [configinc],
     install : true,
-    dependencies : deps + [libsoup_dep])
+    dependencies : [deps, libsoup_dep])
 endif
 
 if get_option('enable-introspection') or get_option('enable-vala')


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