[wing] build: remove unused configuration_data
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing] build: remove unused configuration_data
- Date: Mon, 30 Mar 2020 15:52:53 +0000 (UTC)
commit 3c420fe9733bbad6c26eee74ffb8b260959c11a1
Author: Jakub Janků <jjanku redhat com>
Date: Thu Mar 26 19:21:39 2020 +0100
build: remove unused configuration_data
Pkgconfig file for wing is generated using a different method
nowadays.
The configuration data is set, but not used to generate any
config file, so it's useless.
Signed-off-by: Jakub Janků <jjanku redhat com>
meson.build | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/meson.build b/meson.build
index 58c1a54..511b12e 100644
--- a/meson.build
+++ b/meson.build
@@ -43,17 +43,6 @@ wing_datadir = wing_prefix / get_option('datadir')
cc = meson.get_compiler('c')
-conf = configuration_data()
-
-# Compat variables for pkgconfig
-conf.set('prefix', wing_prefix)
-conf.set('exec_prefix', wing_prefix)
-conf.set('libdir', wing_libdir)
-conf.set('includedir', wing_includedir)
-
-# Version macros
-conf.set('VERSION', wing_version)
-
add_project_arguments('-DG_LOG_USE_STRUCTURED=1', language: 'c')
add_project_arguments('-D_WIN32_WINNT=0x0601', language: 'c')
@@ -116,7 +105,6 @@ core_inc = include_directories('.')
# Required dependencies
glib_req = '2.44.0'
-conf.set('GLIB_REQUIRED', glib_req)
glib = dependency('glib-2.0', version: '>=' + glib_req, fallback: ['glib', 'libglib_dep'])
gobject = dependency('gobject-2.0', version: '>=' + glib_req, fallback: ['glib', 'libgobject_dep'])
gmodule = dependency('gmodule-2.0', version: '>=' + glib_req, fallback: ['glib', 'libgmodule_dep'])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]