FreeBSD: do not build utilities
authorBaptiste Daroussin <bapt@FreeBSD.org>
Thu, 3 Aug 2017 12:04:36 +0000 (14:04 +0200)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 3 Aug 2017 14:40:36 +0000 (16:40 +0200)
meson.build

index 0e1eb0aedbe0872e39a429ceb9c5c6a45c35d4c7..ef826fbb45d852223f945858e65882a7f15044f0 100644 (file)
@@ -92,7 +92,10 @@ thread_dep = dependency('threads')
 #
 # Read build files from sub-directories
 #
-subdirs = [ 'lib', 'include', 'util', 'example', 'doc', 'test' ]
+subdirs = [ 'lib', 'include', 'example', 'doc', 'test' ]
+if not host_machine.system().startswith('freebsd')
+subdirs += 'util'
+endif
 foreach n : subdirs
     subdir(n)
 endforeach