Mercurial > mxe-octave
changeset 3622:507e675391bd
sdl: create (MXE_TOOL_PREFIX)-sdl-config only if not native build
* src/sdl.mk: create (MXE_TOOL_PREFIX)-sdl-config only if not native build
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 27 Jun 2014 21:16:15 -0400 |
parents | 2b24e408ea4a |
children | 6426e08a5618 |
files | src/sdl.mk |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/sdl.mk Fri Jun 27 21:13:38 2014 -0400 +++ b/src/sdl.mk Fri Jun 27 21:16:15 2014 -0400 @@ -28,10 +28,12 @@ --disable-stdio-redirect $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= - $(LN_SF) '$(HOST_BINDIR)/sdl-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)sdl-config' + if [ "$(MXE_NATIVE_BUILD)" == "no" ]; then \ + $(LN_SF) '$(HOST_BINDIR)/sdl-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)sdl-config'; \ + fi - '$(MXE_CC)' \ - -W -Wall -Werror -ansi -pedantic \ - '$(2).c' -o '$(HOST_BINDIR)/test-sdl.exe' \ - `'$(MXE_PKG_CONFIG)' sdl --cflags --libs` + #'$(MXE_CC)' \ + # -W -Wall -Werror -ansi -pedantic \ + # '$(2).c' -o '$(HOST_BINDIR)/test-sdl.exe' \ + # `'$(MXE_PKG_CONFIG)' sdl --cflags --libs` endef