Mercurial > mxe-octave
diff binary-dist-rules.mk @ 4506:f3d64fe692e6
octave-wrapper.in: Include GCC library directory in LD_LIBRARY_PATH.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Oct 2017 05:54:48 -0400 |
parents | 7f2d5c8c4491 |
children | 5b5c47cd2111 |
line wrap: on
line diff
--- a/binary-dist-rules.mk Thu Oct 12 04:44:14 2017 -0400 +++ b/binary-dist-rules.mk Thu Oct 12 05:54:48 2017 -0400 @@ -149,6 +149,8 @@ mv $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION) \ $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION).real; \ $(SED) < octave-wrapper.in \ + -e "s|@GCC_VERSION@|$(native-gcc_VERSION)|" \ + -e "s|@GCC_ARCH@|$(TARGET)|" \ -e "s|@OCTAVE_VERSION@|$($(OCTAVE_TARGET)_VERSION)|" \ -e "s|@GNUPLOT_MAJOR_MINOR_VERSION@|$(shell echo $(gnuplot_VERSION) | $(SED) -e 's/\(^[0-9][0-9]*\.[0-9][0-9]*\)\..*/\1/')|" \ -e "s|@PROGRAM_NAME@|$$f|" > $$f-t \