Mercurial > mxe-octave
changeset 3961:808ff354717a
binary-dist-rules: fix paths of distributes .pc and .la files
* binary-dist-rules.mk: in cross mingw, remove (HOST_PREFIX) from any absolue path names in .pc and .la files
author | John D |
---|---|
date | Mon, 08 Jun 2015 22:03:11 -0400 |
parents | bd51e2f81020 |
children | 76247f439f51 |
files | binary-dist-rules.mk |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/binary-dist-rules.mk Mon Jun 08 19:21:00 2015 -0400 +++ b/binary-dist-rules.mk Mon Jun 08 22:03:11 2015 -0400 @@ -77,6 +77,11 @@ echo " octave.bat..." cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/ cp $(TOP_DIR)/installer-files/octave.vbs $(OCTAVE_DIST_DIR)/ + echo " updating libtool references..." + find '$(OCTAVE_DIST_DIR)/' -type f -name "*.la" -exec $(SED) -i 's|$(HOST_PREFIX)|/usr|g' {} \; ; + echo " updating pkg-config .pc references..." + find '$(OCTAVE_DIST_DIR)/lib/pkgconfig' -type f -name "*.pc" -exec $(SED) -i 's|$(HOST_PREFIX)|/usr|g' {} \; ; + endef else define copy-windows-dist-files