summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2018-04-11 16:43:27 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2018-04-11 16:49:18 +0000
commit8c3ee6a38d8b5086af9c8b2eb8b3d0015e428461 (patch)
tree7357629a89b43d1089c8ababe587bc0b5a9aa969
parent20f12f9ed7260838bbf82d722e7ed1f85ca2eda5 (diff)
downloadgtk+-lrn/meson-intl.tar.gz
Link libgtk to libintllrn/meson-intl
GTK does use libintl directly (in gtkmain.c, for example) and thus needs to be linked to it (if found and/or needed). Previously we most likely were getting libintl from glib, but that stopped for some reason. Either way, explicit linking is the right thing to do here.
-rw-r--r--gtk/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/meson.build b/gtk/meson.build
index 075cc9069f..b4555b2e80 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -919,6 +919,10 @@ if cloudproviders_enabled
gtk_deps += cloudproviders_dep
endif
+# Unconditional. If libintl isn't found,
+# the object just does nothing being in the deplist
+gtk_deps += libintl_dep
+
gtk_settings_schemas = [
'org.gtk.Settings.FileChooser.gschema.xml',
'org.gtk.Settings.ColorChooser.gschema.xml',