[pangomm/pangomm-2-46] Meson build: Use relative paths to untracked/
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm/pangomm-2-46] Meson build: Use relative paths to untracked/
- Date: Thu, 25 Feb 2021 09:32:14 +0000 (UTC)
commit 06c8d921afd12ef16954360974d95fcd2849416f
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Feb 25 10:25:13 2021 +0100
Meson build: Use relative paths to untracked/
The paths to the source code in untracked/ shall be relative to the
meson.build file, when library files are built from a tarball.
With absolute paths Meson may generate too long file names.
See merge request gtkmm!61
pango/pangomm/meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pango/pangomm/meson.build b/pango/pangomm/meson.build
index edbbf01..521ef69 100644
--- a/pango/pangomm/meson.build
+++ b/pango/pangomm/meson.build
@@ -64,6 +64,7 @@ install_headers('..' / 'pangomm.h', subdir: pangomm_pcname)
install_headers(extra_h_files, subdir: pangomm_pcname / 'pangomm')
untracked_pangomm = 'untracked' / 'pango' / 'pangomm'
+rel_untracked_pangomm = '..' / '..' / untracked_pangomm
src_untracked_pangomm = project_source_root / untracked_pangomm
pangomm_cpp_args = [ '-DPANGOMM_BUILD=1' ]
@@ -176,9 +177,9 @@ else # not maintainer_mode
hg_ccg_basenames,
)
- built_cc_files = [ src_untracked_pangomm / 'wrap_init.cc' ]
+ built_cc_files = [ rel_untracked_pangomm / 'wrap_init.cc' ]
foreach file : hg_ccg_basenames
- built_cc_files += src_untracked_pangomm / file + '.cc'
+ built_cc_files += rel_untracked_pangomm / file + '.cc'
endforeach
pango_gen_sources = built_cc_files
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]