summaryrefslogtreecommitdiff
path: root/libpeas
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 /libpeas
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 'libpeas')
-rw-r--r--libpeas/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpeas/meson.build b/libpeas/meson.build
index d32c6b9..f3199e9 100644
--- a/libpeas/meson.build
+++ b/libpeas/meson.build
@@ -107,8 +107,8 @@ libpeas_sha = library(
darwin_versions: lib_version_osx,
include_directories: [rootdir, libpeas_srcdir],
dependencies: libpeas_deps,
- c_args: libpeas_c_args + hidden_visibility_args,
- objc_args: libpeas_c_args,
+ c_args: project_c_args + libpeas_c_args + hidden_visibility_args,
+ objc_args: project_c_args + libpeas_c_args,
link_args: libpeas_link_args,
install: true,
)