summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2020-04-22 14:52:06 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2020-04-22 14:52:06 +0800
commit26e0a373029cad35c00a79bcc7737973878d58f8 (patch)
tree40de7fd4ec663af224e822d463f4bfcbd49ef2cd
parentdfdc8a60925b09f123ee97bcb7f20458036b0815 (diff)
downloadgrilo-26e0a373029cad35c00a79bcc7737973878d58f8.tar.gz
src/meson.build: Fix introspection on Windows
Python on Windows have problems escaping quotes that have been previously, escaped, which is revealed when we are trying to build introspection files. Fix this by just passing in the '-DG_LOG_DOMAIN=...' only when building the Grilo library, but not when running g-ir-scanner.
-rw-r--r--src/meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build
index 4b4386e..9d57e37 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -85,7 +85,6 @@ libgrl_inc = include_directories([
c_args = [
'-DGRILO_COMPILATION',
- '-DG_LOG_DOMAIN="Grilo"',
'-DHAVE_CONFIG_H',
'-DGRL_NAME="@0@"'.format(grl_name)
]
@@ -112,7 +111,7 @@ libgrl = shared_library(grl_name,
soversion: soversion,
version: grilo_lt_version,
dependencies: libgrl_deps,
- c_args: c_args,
+ c_args: c_args + ['-DG_LOG_DOMAIN="Grilo"'],
link_args: libgrl_link_args,
include_directories: libgrl_inc)