* embed explicit Carbon dependency into freetype2.pc and freetype-config, if configured to use Carbon
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 9d205da..7d1cd87 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -142,8 +142,8 @@
 if test x$with_old_mac_fonts = xyes; then
   orig_LDFLAGS="${LDFLAGS}"
   AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
-  LDFLAGS="$LDFLAGS -Xlinker -framework -Xlinker CoreServices \
-                    -Xlinker -framework -Xlinker ApplicationServices"
+  FT2_EXTRA_LIBS="-Wl,-framework,CoreServices,-framework,ApplicationServices"
+  LDFLAGS="$LDFLAGS $FT2_EXTRA_LIBS"
   AC_TRY_LINK([],
     [],
     [AC_MSG_RESULT([ok])],
@@ -388,6 +388,7 @@
 AC_SUBST([LIBZ])
 AC_SUBST([CFLAGS])
 AC_SUBST([LDFLAGS])
+AC_SUBST([FT2_EXTRA_LIBS])
 AC_SUBST([SYSTEM_ZLIB])