Commit c1678d6a authored by Felix Paul Kühne's avatar Felix Paul Kühne

contrib/harfbuzz: explicitly enable CoreText support on Darwin

parent 22bfea61
...@@ -7,6 +7,12 @@ ifeq ($(call need_pkg,"harfbuzz"),) ...@@ -7,6 +7,12 @@ ifeq ($(call need_pkg,"harfbuzz"),)
PKGS_FOUND += harfbuzz PKGS_FOUND += harfbuzz
endif endif
HARFBUZZCONF = --with-icu=no --with-glib=no --with-fontconfig=no
#ifdef HAVE_DARWIN_OS
HARFBUZZCONF += --with-coretext=yes
#endif
$(TARBALLS)/harfbuzz-$(HARFBUZZ_VERSION).tar.bz2: $(TARBALLS)/harfbuzz-$(HARFBUZZ_VERSION).tar.bz2:
$(call download,$(HARFBUZZ_URL)) $(call download,$(HARFBUZZ_URL))
...@@ -23,6 +29,6 @@ DEPS_harfbuzz = freetype2 $(DEPS_freetype2) ...@@ -23,6 +29,6 @@ DEPS_harfbuzz = freetype2 $(DEPS_freetype2)
.harfbuzz: harfbuzz .harfbuzz: harfbuzz
cd $< && env NOCONFIGURE=1 sh autogen.sh cd $< && env NOCONFIGURE=1 sh autogen.sh
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS)" ./configure $(HOSTCONF) --with-icu=no --with-glib=no --with-fontconfig=no cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS)" ./configure $(HOSTCONF) $(HARFBUZZCONF)
cd $< && $(MAKE) install cd $< && $(MAKE) install
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment