Sfoglia il codice sorgente

fix build with macOS keychain support

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

amends 198ca65b.
Oswald Buddenhagen 4 anni fa
parent
commit
4ad82686f2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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])