Thu, 31 Mar 2022 22:53:18 -0500
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> '''