[libchamplain: 6/8] meson: Fix G_LOG_DOMAINs



commit 63a6696b591d87154be6f08680cc3c7afb1b2338
Author: Jan Alexander Steffens (heftig) <jan steffens gmail com>
Date:   Thu Feb 21 18:14:19 2019 +0100

    meson: Fix G_LOG_DOMAINs
    
    autotools uses "libchamplain" as the log domain and we should keep that.

 champlain-gtk/meson.build | 2 +-
 champlain/meson.build     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/champlain-gtk/meson.build b/champlain-gtk/meson.build
index 5309b4d..5618d6c 100644
--- a/champlain-gtk/meson.build
+++ b/champlain-gtk/meson.build
@@ -23,7 +23,7 @@ libchamplain_gtk_srcdir = include_directories('.')
 libchamplain_gtk_c_args = [
   '-DHAVE_CONFIG_H',
   '-DCHAMPLAIN_GTK_COMPILATION',
-  '-DG_LOG_DOMAIN="@0@"'.format(package_gtk_name),
+  '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
 ]
 
 libchamplain_gtk_link_args = [
diff --git a/champlain/meson.build b/champlain/meson.build
index 1431c75..88d8094 100644
--- a/champlain/meson.build
+++ b/champlain/meson.build
@@ -108,7 +108,7 @@ libchamplain_srcdir = include_directories('.')
 libchamplain_c_args = [
   '-DHAVE_CONFIG_H',
   '-DCHAMPLAIN_COMPILATION',
-  '-DG_LOG_DOMAIN="@0@"'.format(package_name),
+  '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
 ]
 
 libchamplain_link_args = [


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