Must use the "ascii" version of our expat build with fontconfig

Sigh, spent one day, more or less, tracking down a weird fontconfig
problem, where all the diagnostic it offered was "unknown encoding"
when reading the fonts.conf file.

It turned out that I was being screwed by our fun two versions of the
expat_xmlparse library: One where XML_Char is char and one where it is
short. The intuitively "more normally" named libexpat_xmlparse is the
latter, but fontconfig works only with the former as it implicitly
expects XML_Char to be char.
This commit is contained in:
Tor Lillqvist
2012-01-12 22:20:38 +02:00
parent ba713b5add
commit 201ade8770

View File

@@ -34,7 +34,7 @@
;;
*)
- EXPAT_LIBS="-L$expat_lib -lexpat"
+ EXPAT_LIBS="-L$expat_lib -lexpat_xmlparse -lexpat_xmltok"
+ EXPAT_LIBS="-L$expat_lib -lascii_expat_xmlparse -lexpat_xmltok"
;;
esac