Mercurial > mxe-octave
diff src/ocaml-flexdll.mk @ 3031:951da75fd09c
improve handling of cross tool prefix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 09 Jun 2013 09:48:08 -0400 |
parents | b6c7244a2f66 |
children | 5ef49fb3299d |
line wrap: on
line diff
--- a/src/ocaml-flexdll.mk Sat Jun 08 20:53:29 2013 -0400 +++ b/src/ocaml-flexdll.mk Sun Jun 09 09:48:08 2013 -0400 @@ -33,11 +33,11 @@ cd '$(BUILD_TOOLS_PREFIX)/bin' && $(LN_SF) '$(HOST_LIBDIR)/ocaml/flexdll/flexlink' (echo '#!/bin/sh'; \ echo 'exec flexlink -I $(HOST_LIBDIR) -chain mingw -nocygpath "$$@"') \ - > '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-flexlink' - chmod 0755 '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-flexlink' + > '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)flexlink' + chmod 0755 '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)flexlink' echo "testing flexlink..." - $(MAKE) -C '$(1)/test' -j '$(JOBS)' dump.exe plug1.dll plug2.dll CC=$(TARGET)-gcc O=o FLEXLINK=$(TARGET)-flexlink + $(MAKE) -C '$(1)/test' -j '$(JOBS)' dump.exe plug1.dll plug2.dll CC=$(MXE_CC) O=o FLEXLINK=$(MXE_TOOL_PREFIX)flexlink #works if wine is installed : #cd '$(1)/test' && ./dump.exe plug1.dll plug2.dll endef