summaryrefslogtreecommitdiff
path: root/loaders
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2022-02-08 17:37:09 -0800
committerChristian Hergert <chergert@redhat.com>2022-02-08 17:37:09 -0800
commit7e007a651120ef4a9043afc9ef0b1c140731eae9 (patch)
tree3e1bdade169b18fd7ce4412148ae3ef78f9c98bc /loaders
parentd150c9dd65027aab82b2cae7507d073ef0414a47 (diff)
downloadlibpeas-7e007a651120ef4a9043afc9ef0b1c140731eae9.tar.gz
build: fix min/max version warnings
We don't want these applied to the gir compilation, so manually add the project_c_args to the targets we care about having min/max glib version applied.
Diffstat (limited to 'loaders')
-rw-r--r--loaders/lua5.1/meson.build2
-rw-r--r--loaders/python/meson.build2
-rw-r--r--loaders/python3/meson.build2
3 files changed, 3 insertions, 3 deletions
diff --git a/loaders/lua5.1/meson.build b/loaders/lua5.1/meson.build
index fc1f566..f87707d 100644
--- a/loaders/lua5.1/meson.build
+++ b/loaders/lua5.1/meson.build
@@ -33,7 +33,7 @@ lua51_loader_sha = shared_module(
lua51_loader_c + lua51_loader_res,
include_directories: rootdir,
dependencies: lua51_loader_deps,
- c_args: lua51_loader_c_args,
+ c_args: project_c_args + lua51_loader_c_args,
install: true,
install_dir: join_paths(
pkglibdir,
diff --git a/loaders/python/meson.build b/loaders/python/meson.build
index 215f3ef..9ca733a 100644
--- a/loaders/python/meson.build
+++ b/loaders/python/meson.build
@@ -36,7 +36,7 @@ python2_loader_sha = shared_module(
python2_loader_c + python2_loader_res,
include_directories: rootdir,
dependencies: python2_loader_deps,
- c_args: python2_loader_c_args,
+ c_args: project_c_args + python2_loader_c_args,
install: true,
install_dir: join_paths(
pkglibdir,
diff --git a/loaders/python3/meson.build b/loaders/python3/meson.build
index a97c81e..d6f9eba 100644
--- a/loaders/python3/meson.build
+++ b/loaders/python3/meson.build
@@ -36,7 +36,7 @@ python3_loader_sha = shared_module(
python3_loader_c + python3_loader_res,
include_directories: rootdir,
dependencies: python3_loader_deps,
- c_args: python3_loader_c_args,
+ c_args: project_c_args + python3_loader_c_args,
install: true,
install_dir: join_paths(
pkglibdir,