Explorar el Código

fix build with macOS keychain support

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

amends 198ca65b.
Oswald Buddenhagen hace 4 años
padre
commit
4ad82686f2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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])