Remove unused IOKit dependency

Tue, 17 Sep 2024 14:29:59 -0500

author
Elliott Sales de Andrade <quantum.analyst@gmail.com>
date
Tue, 17 Sep 2024 14:29:59 -0500
changeset 42953
1f7fb11c9265
parent 42951
37816f063275
child 42955
a7ce6e2d6408

Remove unused IOKit dependency

Pidgin links to it, but no code checks the `HAVE_IOKIT` macro to use it.

Testing Done:
Compiled only.

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

meson.build file | annotate | diff | comparison | revisions
pidgin/meson.build file | annotate | diff | comparison | revisions
--- a/meson.build	Tue Sep 17 03:29:18 2024 -0500
+++ b/meson.build	Tue Sep 17 14:29:59 2024 -0500
@@ -161,14 +161,6 @@
 # of the C library
 math = compiler.find_library('m', required: false)
 
-IOKIT = []
-if host_machine.system() == 'darwin'
-	IOKIT = dependency('appleframeworks',
-	                   modules : ['IOKit', 'CoreFoundation'])
-
-	conf.set('HAVE_IOKIT', true)
-endif
-
 #######################################################################
 # Check for GLib (required)
 #######################################################################
--- a/pidgin/meson.build	Tue Sep 17 03:29:18 2024 -0500
+++ b/pidgin/meson.build	Tue Sep 17 14:29:59 2024 -0500
@@ -123,7 +123,6 @@
 	glib,
 	gplugin_gtk_dep,
 	gtk,
-	IOKIT,
 	json,
 	libadwaita,
 	math,

mercurial