From 3a0614508a88a9e30be2f47bc209e7d1e6f785b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 17 Dec 2015 12:17:58 +0100 Subject: Add package i18n to the index --- test/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 34d647f..06800af 100644 --- a/test/Makefile +++ b/test/Makefile @@ -203,6 +203,14 @@ pkg-$1: clean build $i "Add package $1 to the Makefile" $t perl -ni.bak -e 'print;if ($$$$.==1) {print "DEPS = $1\n"}' packages/$1_pkg/Makefile + $(if $(filter i18n,$1), + $i "Set ICU flags" + $(eval PATCHES := \ + CXX="$(shell icu-config --cxx)" \ + ICU_CFLAGS="$(shell icu-config --cflags)" \ + ICU_CXXFLAGS="$(shell icu-config --cxxflags)" \ + ICU_LDFLAGS="$(shell icu-config --ldflags)")) + $i "Compile package $1" $t if ! ( cd packages/$1_pkg/ && $(MAKE) $(PATCHES) $v ); then \ echo "$1: compile error" >> packages/errors.log; \ -- cgit v1.2.3