# HG changeset patch # User John D # Date 1433815391 14400 # Node ID 808ff354717a8f88e7f7165fce90e6f64ff7dd36 # Parent bd51e2f810202a0c0b39ef9567e04bb3210538fa 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 diff -r bd51e2f81020 -r 808ff354717a binary-dist-rules.mk --- 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