Move the libidn check to jabber/meson.build as it needs specific functions of the library

Thu, 13 Feb 2020 20:57:31 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 13 Feb 2020 20:57:31 -0600
changeset 40284
265c9daecda9
parent 40283
99ac77e41427
child 40285
8177902f9562

Move the libidn check to jabber/meson.build as it needs specific functions of the library

libpurple/protocols/jabber/meson.build file | annotate | diff | comparison | revisions
meson.build file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/meson.build	Thu Feb 13 20:37:12 2020 -0600
+++ b/libpurple/protocols/jabber/meson.build	Thu Feb 13 20:57:31 2020 -0600
@@ -107,6 +107,8 @@
 endif
 
 if DYNAMIC_JABBER
+	idn = dependency('libidn', version : '>= 0.0.0')
+
 	jabber_prpl = shared_library('jabber', JABBERSOURCES,
 	    link_args : jabber_link_args,
 	    dependencies : [gstreamer, idn, libxml, sasl, libpurple_dep, libsoup, glib, gio, math, ws2_32],
--- a/meson.build	Thu Feb 13 20:37:12 2020 -0600
+++ b/meson.build	Thu Feb 13 20:57:31 2020 -0600
@@ -349,12 +349,6 @@
 endif
 
 #######################################################################
-# Check for libidn (required)
-#######################################################################
-
-idn = dependency('libidn', version : '>= 0.0.0')
-
-#######################################################################
 # Check for JSON-GLib (required)
 #######################################################################
 

mercurial