浏览代码

fix build with macOS keychain support

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

amends 198ca65b.
Oswald Buddenhagen 4 年之前
父节点
当前提交
4ad82686f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -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])