File: 0002-meson.build-change-include-directory-for-parallel-in.patch

package info (click to toggle)
posixsignalmanager 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 964 kB
  • sloc: cpp: 16,089; python: 137; ansic: 43; sh: 27; makefile: 21
file content (29 lines) | stat: -rw-r--r-- 972 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Christoph Hueffelmann <chr@istoph.de>
Date: Wed, 24 Sep 2025 20:08:04 +0000
Subject: meson.build: change include directory for parallel installability.

---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index f5c9642..c62742d 100644
--- a/meson.build
+++ b/meson.build
@@ -65,14 +65,14 @@ posixsignalmanager_dep = declare_dependency(link_with: posixsignalmanager_lib,
                                             include_directories: include_directories('.'),
                                             dependencies: [qt_dep, librt])
 
-install_headers('PosixSignalManager.h')
+install_headers('PosixSignalManager.h', subdir : lib_name_for_meson )
 
 import('pkgconfig').generate(
   posixsignalmanager_lib,
   description: pkg_description,
   filebase: pkg_filebase,
   name: pkg_name,
-  subdirs: ['.']
+  subdirs: [ lib_name_for_meson ]
 )
 
 if get_option('tests') and not meson.is_subproject()