[glib-networking] Generate a .pc file for each module



commit 62362f91687d706a8e305acbcde6fb983c1a57ff
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Fri Apr 6 21:18:06 2018 -0400

    Generate a .pc file for each module
    
    When static_modules is true, generate a .pc file to each module to be
    able to get their private dependencies.
    
    This uses a simplified pkg.generate() API added in Meson 0.46.0.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=795043

 proxy/gnome/meson.build    |    1 +
 proxy/libproxy/meson.build |    1 +
 tls/gnutls/meson.build     |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/proxy/gnome/meson.build b/proxy/gnome/meson.build
index ed90537..2c6fd61 100644
--- a/proxy/gnome/meson.build
+++ b/proxy/gnome/meson.build
@@ -28,6 +28,7 @@ if get_option('static_modules')
     install: true,
     install_dir: gio_module_dir
   )
+  pkg.generate(module)
 endif
 
 proxy_test_programs += [['gnome', deps]]
diff --git a/proxy/libproxy/meson.build b/proxy/libproxy/meson.build
index 95839ae..66a4d37 100644
--- a/proxy/libproxy/meson.build
+++ b/proxy/libproxy/meson.build
@@ -52,6 +52,7 @@ if get_option('static_modules')
     install: true,
     install_dir: gio_module_dir
   )
+  pkg.generate(module)
 endif
 
 sources = files(
diff --git a/tls/gnutls/meson.build b/tls/gnutls/meson.build
index c4f5ef2..1699d1b 100644
--- a/tls/gnutls/meson.build
+++ b/tls/gnutls/meson.build
@@ -50,4 +50,5 @@ if get_option('static_modules')
     install: true,
     install_dir: gio_module_dir
   )
+  pkg.generate(module)
 endif


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