pcre: fixup paths in pcre-config

This commit is contained in:
Peter Korsgaard 2008-09-17 21:33:19 +00:00
parent 16091faf1e
commit fc1491ce44
1 changed files with 3 additions and 0 deletions

View File

@ -20,5 +20,8 @@ PCRE_DEPENDENCIES = uclibc
$(eval $(call AUTOTARGETS,package,pcre)) $(eval $(call AUTOTARGETS,package,pcre))
$(PCRE_HOOK_POST_INSTALL): $(PCRE_TARGET_INSTALL_TARGET) $(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 rm -rf $(TARGET_DIR)/usr/share/doc/pcre
touch $@ touch $@