Fix incorrect check for inet_aton. meson

Mon, 19 Dec 2016 01:17:03 -0500

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Mon, 19 Dec 2016 01:17:03 -0500
branch
meson
changeset 38483
fa04037c27e6
parent 38482
aeed00394acf
child 38484
1e216a6ab808

Fix incorrect check for inet_aton.

It should be checked on !win32.

meson.build file | annotate | diff | comparison | revisions
--- a/meson.build	Sun Dec 18 21:04:55 2016 -0500
+++ b/meson.build	Mon Dec 19 01:17:03 2016 -0500
@@ -237,7 +237,7 @@
 endif
 
 # Check for inet_aton
-if is_win32
+if is_not_win32
 	if not compiler.has_function('inet_aton')
 		if not compiler.has_function('inet_aton', args : '-lresolv')
 			error('inet_aton not found')

mercurial