Actually, although we use freetype2.m4, this doesn't consider cross-compiling environment. We should use pkg-config instead of.
How exactly does freetype2.m4 fail with cross-compiling? AFAICS it should work, skipping the compilation check, which using pkg-config does even when not cross-compiling.
(In reply to Mike Hommey [:glandium] from comment #2) > How exactly does freetype2.m4 fail with cross-compiling? AFAICS it should > work, skipping the compilation check, which using pkg-config does even when > not cross-compiling. when using apt-cross, freetype-config for taget isn't installed. So it is no way to get freetype-config for target.
Shouldn't it be there, though?
Comment on attachment 587611 [details] [diff] [review] fix My fear is that we'd be lacking the extra tests from freetype2.m4, but I think it's fine anyways.
Attachment #587611 - Flags: review?(mh+mozilla) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.