fix build with macOS keychain support

we use symbols from CoreFoundation directly, so we need to link it
explicitly.

amends 198ca65b.
This commit is contained in:
Oswald Buddenhagen 2020-11-29 13:47:18 +01:00
parent dec4b36595
commit 4ad82686f2

View File

@ -220,7 +220,7 @@ if test "x$have_macos_keychain" != xno; then
fi
have_macos_keychain=yes
AC_DEFINE(HAVE_MACOS_KEYCHAIN, 1, [Define to 1 if you have the macOS Keychain Services API.])
AC_SUBST(KEYCHAIN_LIBS, ["-Wl,-framework,Security"])
AC_SUBST(KEYCHAIN_LIBS, ["-Wl,-framework,Security,-framework,CoreFoundation"])
fi
AC_CONFIG_FILES([Makefile src/Makefile isync.spec])