meson.build

branch
meson
changeset 38531
0b7c991bc3e4
parent 38529
6b1f391a52ba
child 38532
ce789b341027
--- a/meson.build	Wed Jun 28 19:37:05 2017 -0400
+++ b/meson.build	Thu Jun 29 22:05:05 2017 -0400
@@ -1,4 +1,4 @@
-project('pidgin', 'c', meson_version : '>0.36.0')
+project('pidgin', 'c', meson_version : '>=0.37.0')
 
 # UPDATING VERSION NUMBERS FOR RELEASES
 #
@@ -307,15 +307,6 @@
 conf.set('HAVE_IPV6_V6ONLY',
     compiler.has_header_symbol(header, 'IPV6_V6ONLY'))
 
-# FreeBSD doesn't have libdl, dlopen is provided by libc
-if compiler.has_function('dlopen')
-	LIBDL = ''
-else
-	if compiler.has_function('dlopen', args : '-ldl')
-		LIBDL = '-ldl'
-	endif
-endif
-
 # Windows and Haiku do not use libm for the math functions, they are part
 # of the C library
 math = compiler.find_library('m')
@@ -391,7 +382,7 @@
 endif
 
 # #######################################################################
-# # Check for GLib 2.35 (required)
+# # Check for GLib 2.36 (required)
 # #######################################################################
 glib = dependency('glib-2.0', version : '>= 2.36.0')
 gio = dependency('gio-2.0')
@@ -1095,6 +1086,7 @@
 
 #######################################################################
 # Check for Unity and Messaging Menu
+# Remove when Ubuntu 16.04 is EOL
 #######################################################################
 enable_unity = get_option('unity-integration')
 if enable_unity

mercurial