Use correct check for host system

Thu, 31 Mar 2022 22:53:18 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Thu, 31 Mar 2022 22:53:18 -0500
changeset 41317
fa45763d9c71
parent 41316
b0f820b59429
child 41318
56092ffeae95

Use correct check for host system

Testing Done:
Configured.

Reviewed at https://reviews.imfreedom.org/r/1376/

libpurple/plugins/notification-sound/meson.build file | annotate | diff | comparison | revisions
meson.build file | annotate | diff | comparison | revisions
--- a/libpurple/plugins/notification-sound/meson.build	Fri Mar 25 02:58:45 2022 -0500
+++ b/libpurple/plugins/notification-sound/meson.build	Thu Mar 31 22:53:18 2022 -0500
@@ -1,4 +1,4 @@
-if target_machine.system() != 'windows'
+if host_machine.system() != 'windows'
 	CANBERRA = dependency('libcanberra', version: '>= 0.30')
 
 	library('notification-sound', 'notification-sound.c',
--- a/meson.build	Fri Mar 25 02:58:45 2022 -0500
+++ b/meson.build	Thu Mar 31 22:53:18 2022 -0500
@@ -636,7 +636,7 @@
 
 # OpenBSD 6.7 and FreeBSD 12 require including sys/types.h before sys/sysctl.h.
 # NetBSD 9.0 doesn't care.
-if target_machine.system() in ['freebsd', 'openbsd']
+if host_machine.system() in ['freebsd', 'openbsd']
 	prefix = '''
 #include <sys/types.h>
 '''

mercurial