[gcr/wip/nielsdg/fix-pc-fiels: 8/8] meson: Fix include directories of gcr-*.pc



commit 0572c641a90b72560d401850c235a05f3a1c771e
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sat Jan 4 02:22:05 2020 +0100

    meson: Fix include directories of gcr-*.pc
    
    We introduced a regression in Meson as we do not add the correct `-I`
    flags for the compiler.

 gcr/meson.build | 1 +
 ui/meson.build  | 2 ++
 2 files changed, 3 insertions(+)
---
diff --git a/gcr/meson.build b/gcr/meson.build
index 66126b9..262c5cf 100644
--- a/gcr/meson.build
+++ b/gcr/meson.build
@@ -216,6 +216,7 @@ endif
 
 # pkg-config file
 pkgconfig.generate(gcr_base_lib,
+  subdirs: 'gcr-@0@'.format(gcr_major_version),
   description: 'GObject and GUI library for high level crypto parsing and display',
 )
 
diff --git a/ui/meson.build b/ui/meson.build
index 7bd3794..60cc79a 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -111,11 +111,13 @@ gcr_ui_lib = shared_library(gcr_ui_basename,
 )
 
 pkgconfig.generate(gcr_ui_lib,
+  subdirs: 'gcr-@0@'.format(gcr_major_version),
   description: 'GObject and GUI library for high level crypto parsing and display',
 )
 pkgconfig.generate(gcr_ui_lib,
   filebase: gcr_basename,
   name: gcr_basename,
+  subdirs: 'gcr-@0@'.format(gcr_major_version),
   description: 'GObject and GUI library for high level crypto parsing and display',
 )
 


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