[gdk-pixbuf] build: Fix syntax for has_function()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] build: Fix syntax for has_function()
- Date: Sun, 21 Mar 2021 12:34:05 +0000 (UTC)
commit 69fc5578ca5857561bb276c3cfd36815a4f195ae
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Mar 21 12:32:47 2021 +0000
build: Fix syntax for has_function()
The argument for additional dependencies is `dependencies`, not
`dependency`.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index f43d2334e..4725e9498 100644
--- a/meson.build
+++ b/meson.build
@@ -94,7 +94,7 @@ if cc.has_function('lrint', dependencies: mathlib_dep)
endif
intl_dep = cc.find_library('intl', required: false)
-if cc.has_function('bind_textdomain_codeset', prefix: '#include <libintl.h>', dependency: intl_dep)
+if cc.has_function('bind_textdomain_codeset', prefix: '#include <libintl.h>', dependencies: intl_dep)
gdk_pixbuf_conf.set('HAVE_BIND_TEXTDOMAIN_CODESET', 1)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]