summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-02-24 11:41:31 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-02-24 19:54:29 (GMT)
commit6dc2737d9a68d48ad31e74120b0adc7ab423ba31 (patch)
tree86678838482eb42b1968ad99843f90a4e4afd9f6
parent37126f56c47f7085d78e4b3e8bf78c37ab933144 (diff)
downloadbuildroot-6dc2737d9a68d48ad31e74120b0adc7ab423ba31.tar.gz
buildroot-6dc2737d9a68d48ad31e74120b0adc7ab423ba31.tar.bz2
icu: tweak icu-config exec_prefix output
Closes #3259 We need to tweak icu-config's exec_prefix too, otherwise if the host system lacks icu the build fails when looking for the libraries in /usr/lib rather than the staging directory. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/icu/icu.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/icu/icu.mk b/package/icu/icu.mk
index ffea1f1..4eddb11 100644
--- a/package/icu/icu.mk
+++ b/package/icu/icu.mk
@@ -16,7 +16,9 @@ ICU_SUBDIR = source
HOST_ICU_SUBDIR = source
define ICU_PREFIX_FIXUP
- $(SED) "s,^default_prefix=.*,default_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/icu-config
+ $(SED) "s,^default_prefix=.*,default_prefix=\'$(STAGING_DIR)/usr\',g" \
+ -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
+ $(STAGING_DIR)/usr/bin/icu-config
endef
ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP