diff options
author | Oleg Oshmyan <[email protected]> | 2017-03-10 21:54:32 +0200 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-03-10 12:54:32 -0700 |
commit | 1f6c91c00be0f8f47de1d5c77b945ad6ecd50ec5 (patch) | |
tree | 500f66fef03f89a91eeb49a5c99c365baf78f5fc /contrib/harfbuzz | |
parent | abe8b106dc881aa1e7e0c6f0b57f21795b98afa3 (diff) |
HarfBuzz: disable Fontconfig (#609)
HarfBuzz uses Fontconfig only in command-line utilities, which we don't need.
Diffstat (limited to 'contrib/harfbuzz')
-rw-r--r-- | contrib/harfbuzz/module.defs | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/contrib/harfbuzz/module.defs b/contrib/harfbuzz/module.defs index 07415f3f3..064c92f22 100644 --- a/contrib/harfbuzz/module.defs +++ b/contrib/harfbuzz/module.defs @@ -1,9 +1,5 @@ __deps__ := FREETYPE -ifneq ($(BUILD.system),darwin) - __deps__ += FONTCONFIG -endif - $(eval $(call import.MODULE.defs,HARFBUZZ,harfbuzz,$(__deps__))) $(eval $(call import.CONTRIB.defs,HARFBUZZ)) @@ -17,14 +13,10 @@ HARFBUZZ.CONFIGURE.extra = \ FREETYPE_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfreetype" \ FREETYPE_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include/freetype2" \ -ifneq ($(BUILD.system),darwin) - # Tell configure where to find our version of fontconfig - HARFBUZZ.CONFIGURE.extra += \ - --with-fontconfig=yes \ - FONTCONFIG_LIBS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/))lib -lfontconfig" \ - FONTCONFIG_CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/))include" -else - HARFBUZZ.CONFIGURE.extra += --with-coretext=yes --with-fontconfig=no --with-glib=no +HARFBUZZ.CONFIGURE.extra += --with-fontconfig=no + +ifeq ($(BUILD.system),darwin) + HARFBUZZ.CONFIGURE.extra += --with-coretext=yes --with-glib=no endif ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) |