Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
4505:e8da760989bc | 4506:f3d64fe692e6 |
---|---|
147 echo "installing octave wrapper scripts..." | 147 echo "installing octave wrapper scripts..." |
148 for f in $(OCTAVE_WRAPPER_SCRIPTS); do \ | 148 for f in $(OCTAVE_WRAPPER_SCRIPTS); do \ |
149 mv $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION) \ | 149 mv $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION) \ |
150 $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION).real; \ | 150 $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION).real; \ |
151 $(SED) < octave-wrapper.in \ | 151 $(SED) < octave-wrapper.in \ |
152 -e "s|@GCC_VERSION@|$(native-gcc_VERSION)|" \ | |
153 -e "s|@GCC_ARCH@|$(TARGET)|" \ | |
152 -e "s|@OCTAVE_VERSION@|$($(OCTAVE_TARGET)_VERSION)|" \ | 154 -e "s|@OCTAVE_VERSION@|$($(OCTAVE_TARGET)_VERSION)|" \ |
153 -e "s|@GNUPLOT_MAJOR_MINOR_VERSION@|$(shell echo $(gnuplot_VERSION) | $(SED) -e 's/\(^[0-9][0-9]*\.[0-9][0-9]*\)\..*/\1/')|" \ | 155 -e "s|@GNUPLOT_MAJOR_MINOR_VERSION@|$(shell echo $(gnuplot_VERSION) | $(SED) -e 's/\(^[0-9][0-9]*\.[0-9][0-9]*\)\..*/\1/')|" \ |
154 -e "s|@PROGRAM_NAME@|$$f|" > $$f-t \ | 156 -e "s|@PROGRAM_NAME@|$$f|" > $$f-t \ |
155 && $(INSTALL) -m 755 $$f-t $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION); \ | 157 && $(INSTALL) -m 755 $$f-t $(OCTAVE_DIST_DIR)/bin/$$f-$($(OCTAVE_TARGET)_VERSION); \ |
156 rm -f $(OCTAVE_DIST_DIR)/bin/$$f; \ | 158 rm -f $(OCTAVE_DIST_DIR)/bin/$$f; \ |