summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--unix/configure.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index afcabb3..602324b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-09 Reinhard Max <max@suse.de>
+
+ * unix/configure.in: Use a symbol from libXft itself for the link
+ test rather than one from libfreetype, because the latter doesn't
+ work when the linker is called with --as-needed.
+
2011-03-03 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvLine.c: [Bug 3175610]: Incomplete refresh of line items.
diff --git a/unix/configure.in b/unix/configure.in
index f2e4e4b..36a5fb0 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -572,7 +572,7 @@ if test $tk_aqua = no; then
CFLAGS="$CFLAGS $XINCLUDES $XFT_CFLAGS"
tk_oldLibs=$LIBS
LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW"
- AC_CHECK_LIB(Xft, FT_New_Face, [], [
+ AC_CHECK_LIB(Xft, XftFontOpen, [], [
found_xft=no
])
CFLAGS=$tk_oldCFlags