projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16091fa
)
pcre: fixup paths in pcre-config
author
Peter Korsgaard
<jacmet@sunsite.dk>
Wed, 17 Sep 2008 21:33:19 +0000
(21:33 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Wed, 17 Sep 2008 21:33:19 +0000
(21:33 -0000)
package/pcre/pcre.mk
patch
|
blob
|
history
diff --git
a/package/pcre/pcre.mk
b/package/pcre/pcre.mk
index 2f86391d04c7bbe5a677db011586435daadd8e23..414f12e4b9566f09372baaa189c181e7186b3066 100644
(file)
--- 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 $@