From: jstebbins Date: Fri, 8 Jun 2012 21:34:23 +0000 (+0000) Subject: Don't override fribidi lib and cflags when building libass on linux X-Git-Tag: 0.9.9~580 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62733781aff54e2f1eff95268d575bdee0c13335;p=handbrake Don't override fribidi lib and cflags when building libass on linux We use the system version of fribidi on linux and overriding the build flags causes failures on some systems (gentoo). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4726 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/contrib/libass/module.defs b/contrib/libass/module.defs index 556d7cc0b..6fd067777 100644 --- a/contrib/libass/module.defs +++ b/contrib/libass/module.defs @@ -11,6 +11,10 @@ LIBASS.CONFIGURE.extra = \ FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \ FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \ FONTCONFIG_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfontconfig" \ - FONTCONFIG_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" \ + FONTCONFIG_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" + +ifneq ($(BUILD.system),linux) +LIBASS.CONFIGURE.extra += \ FRIBIDI_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfribidi" \ FRIBIDI_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" +endif