1diff --git a/../smartmontools-6.5/configure b/./configure
2index acb028a..5e2c7a1 100755
3--- a/../smartmontools-6.5/configure
4+++ b/./configure
5@@ -6703,7 +6703,7 @@ fi
6 ;;
7 *-*-darwin*)
8 os_deps='os_darwin.o'
9- os_libs='-framework CoreFoundation -framework IOKit'
10+ os_libs='-framework ApplicationServices -framework IOKit'
11 os_darwin=yes
12 os_man_filter=Darwin
13 ;;
14diff --git a/../smartmontools-6.5/configure.ac b/./configure.ac
15index 6bd61d7..32ff50c 100644
16--- a/../smartmontools-6.5/configure.ac
17+++ b/./configure.ac
18@@ -508,7 +508,7 @@ case "${host}" in
19 ;;
20 *-*-darwin*)
21 os_deps='os_darwin.o'
22- os_libs='-framework CoreFoundation -framework IOKit'
23+ os_libs='-framework ApplicationServices -framework IOKit'
24 os_darwin=yes
25 os_man_filter=Darwin
26 ;;