[libgee/meson: 11/18] Meson: Fix .pc file generation variables
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgee/meson: 11/18] Meson: Fix .pc file generation variables
- Date: Mon, 21 Feb 2022 12:57:40 +0000 (UTC)
commit ff8e6010176bc1612768c841b0cb8dc094288ff6
Author: Daniel Espinosa <daniel espinosa pwmc mx>
Date: Mon May 15 10:35:04 2017 -0500
Meson: Fix .pc file generation variables
meson.build | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 57e257f..51d7a08 100644
--- a/meson.build
+++ b/meson.build
@@ -13,9 +13,11 @@ PROJECT_VERSION = '0.20.0'
conf = configuration_data()
conf.set('prefix', get_option('prefix'))
-conf.set('exec_prefix', get_option('prefix'))
-conf.set('libdir', join_paths (get_option ('prefix'),get_option ('libdir')))
-conf.set('includedir', get_option ('includedir'))
+conf.set('exec_prefix', '${prefix}')
+conf.set('libdir', join_paths ('${prefix}',get_option ('libdir')))
+conf.set('includedir', join_paths ('${prefix}',get_option ('includedir')))
+conf.set('datarootdir', join_paths ('${prefix}','share'))
+conf.set('datadir', '${datarootdir}')
conf.set('VALADEPS', VALADEPS)
conf.set('PCDEPS', PCDEPS)
conf.set('VERSION', PROJECT_VERSION)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]