From 3c76114e73fb98a01403b2349a600161d362e5fe Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 11 Dec 2017 14:47:04 -0500 Subject: Meson: Use pkgconfig module to generate all pc files This requires improved pc file generator from meson 0.45. https://bugzilla.gnome.org/show_bug.cgi?id=788773 --- gobject/meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gobject') diff --git a/gobject/meson.build b/gobject/meson.build index f1ab8fd46..98e306d7f 100644 --- a/gobject/meson.build +++ b/gobject/meson.build @@ -71,6 +71,15 @@ libgobject = library('gobject-2.0', dependencies : [libintl, libffi_dep, libglib_dep], c_args : ['-DG_LOG_DOMAIN="GLib-GObject"', '-DGOBJECT_COMPILATION'] + glib_hidden_visibility_args) +pkg.generate(libraries : libgobject, + requires : ['glib-2.0'], + version : glib_version, + install_dir : glib_pkgconfigreldir, + filebase : 'gobject-2.0', + name : 'GObject', + description : 'GLib Type, Object, Parameter and Signal Library', +) + libgobject_dep = declare_dependency(link_with : libgobject, include_directories : gobjectinc) -- cgit v1.2.1