diff options
author | Bradley Sepos <[email protected]> | 2016-12-27 16:39:19 -0500 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2016-12-27 20:20:31 -0500 |
commit | 97f3394d0e5f104352459d28b213b137323e08b1 (patch) | |
tree | 360ae69915417881afe9f6e374a685ee9633e42b | |
parent | 57fb5dc77086ca5e17b1aaf7731c46c1c6fe476f (diff) |
contrib: Fontconfig workaround for weak symbols not found on Mac prior to Sierra.
When built with Xcode 8 and run on El Capitan or earlier, HandBrake could crash when attempting to burn soft subtitles.
-rw-r--r-- | contrib/fontconfig/module.defs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/fontconfig/module.defs b/contrib/fontconfig/module.defs index d81103848..2423ccc27 100644 --- a/contrib/fontconfig/module.defs +++ b/contrib/fontconfig/module.defs @@ -6,6 +6,11 @@ FONTCONFIG.FETCH.url = https://download.handbrake.fr/handbrake/contrib/fontc FONTCONFIG.FETCH.url += https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.1.tar.bz2 FONTCONFIG.FETCH.sha256 = b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3 +ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system)) + FONTCONFIG.CONFIGURE.env += ac_cv_func_mkostemp="no" + FONTCONFIG.BUILD.env += ac_cv_func_mkostemp="no" +endif + # # Under MinGW: # |