Link libgtk to libintl
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 11 Apr 2018 16:43:27 +0000 (16:43 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 11 Apr 2018 16:49:18 +0000 (16:49 +0000)
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.

gtk/meson.build

index 075cc9069fdeb3d57817a39b2773955df1f16852..b4555b2e80e64df06156b834c4aa6ea748cb9d0d 100644 (file)
@@ -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',