summaryrefslogtreecommitdiffstats
path: root/package/pcre
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-09-17 21:33:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-09-17 21:33:19 +0000
commitfc1491ce44f90718ce18481446d7d7eccfb746ae (patch)
tree5405f550e006dad08060b983580728864f151466 /package/pcre
parent16091faf1e33f7508a1b286e922689904c39b33a (diff)
downloadbuildroot-novena-fc1491ce44f90718ce18481446d7d7eccfb746ae.tar.gz
buildroot-novena-fc1491ce44f90718ce18481446d7d7eccfb746ae.zip
pcre: fixup paths in pcre-config
Diffstat (limited to 'package/pcre')
-rw-r--r--package/pcre/pcre.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/pcre/pcre.mk b/package/pcre/pcre.mk
index 2f86391d0..414f12e4b 100644
--- a/package/pcre/pcre.mk
+++ b/package/pcre/pcre.mk
@@ -20,5 +20,8 @@ PCRE_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,pcre))
$(PCRE_HOOK_POST_INSTALL): $(PCRE_TARGET_INSTALL_TARGET)
+ $(SED) 's,^prefix=.*,prefix=$(STAGING_DIR)/usr,' \
+ -e 's,^exec_prefix=.*,exec_prefix=$(STAGING_DIR)/usr,' \
+ $(STAGING_DIR)/usr/bin/pcre-config
rm -rf $(TARGET_DIR)/usr/share/doc/pcre
touch $@