]> git.sesse.net Git - vlc/commit
Fix build without fontconfig nor optimizations.
authorAlexis Ballier <aballier@gentoo.org>
Thu, 24 Sep 2009 19:58:36 +0000 (21:58 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Sep 2009 20:11:16 +0000 (23:11 +0300)
commit184f04c939a361c9c9f2eb549fcc2e3d1dac2227
tree0d07927bd4167c17e91ded918d36558175fe0ed6
parentb79cadf81892a212b3c721d0e4b5527485549336
Fix build without fontconfig nor optimizations.

Configuring vlc with --disable-fontconfig and --disable-optimizations makes it fail to build the freetype plugin.
At higher optimizations levels, gcc performs dead code elimitation which does not happen at -O0, then the linker is looking for functions that are defined only when fontconfig is enabled.

References: https://bugs.gentoo.org/show_bug.cgi?id=281963

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
modules/misc/freetype.c