summaryrefslogtreecommitdiffstats
path: root/src/harfbuzz.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-18 14:25:40 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-18 14:25:40 (GMT)
commitc3330ee8ee100b8be55b98e564564ece2129278c (patch)
tree58d024f56a206f07859991de97733d0486f72ea0 /src/harfbuzz.mk
parent107c71c16f2dc54e32d2c3ea5063b97d7d12d5da (diff)
downloadmxe-c3330ee8ee100b8be55b98e564564ece2129278c.zip
mxe-c3330ee8ee100b8be55b98e564564ece2129278c.tar.gz
mxe-c3330ee8ee100b8be55b98e564564ece2129278c.tar.bz2
package harfbuzz: add enable icu support
Diffstat (limited to 'src/harfbuzz.mk')
-rw-r--r--src/harfbuzz.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/harfbuzz.mk b/src/harfbuzz.mk
index 817ae9f..ca407ca 100644
--- a/src/harfbuzz.mk
+++ b/src/harfbuzz.mk
@@ -7,7 +7,7 @@ $(PKG)_CHECKSUM := 2f33c388a0be3d07fda58201890d8a9f54a9e7ee
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://www.freedesktop.org/software/$(PKG)/release/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc glib cairo freetype
+$(PKG)_DEPS := gcc glib cairo freetype icu4c
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \
@@ -22,7 +22,11 @@ define $(PKG)_BUILD
--build="`config.guess`" \
--prefix='$(PREFIX)/$(TARGET)' \
--disable-shared \
- --enable-static \
- ICU_CONFIG=/bin/false
- $(MAKE) -C '$(1)' -j '$(JOBS)' install
+ --enable-static
+ $(MAKE) -C '$(1)/src' -j '$(JOBS)'
+ # some of these tests want to be linked with g++
+ # but there's no easy way to bypass the am__v_CCLD... logic
+ $(MAKE) -C '$(1)/test/api' -j '$(JOBS)' test-blob.exe test-buffer.exe test-common.exe test-ot-tag.exe test-set.exe test-version.exe
+ $(MAKE) -C '$(1)/test/api' -j '$(JOBS)' || $(MAKE) -C '$(1)/test/api' -j '$(JOBS)' CC=$(TARGET)-g++
+ $(MAKE) -C '$(1)' install
endef