Skip to content

Commit

Permalink
sdl2_gfx: fix syntax error near unexpected token `) '
Browse files Browse the repository at this point in the history
Also use `` instead of $() and use $(SED) instead of sed (completely my
fault).

Fixes #506.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
  • Loading branch information
lsaavedr authored and TimothyGu committed Sep 16, 2014
1 parent a3b505c commit b4f2887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdl2_gfx.mk
Expand Up @@ -21,8 +21,8 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--with-sdl-prefix='$(PREFIX)/$(TARGET)' \
SDL_LIBS=$($(TARGET)-pkg-config --libs sdl2 | sed -e 's/-lmingw32//' -e 's/-lSDL2main//') \
SDL_CFLAGS=$($(TARGET)-pkg-config --cflags sdl2 | sed 's/-Dmain=SDL_main//'))
SDL_LIBS="`$(TARGET)-pkg-config --libs sdl2 | $(SED) -e 's/-lmingw32//' -e 's/-lSDL2main//'`" \
SDL_CFLAGS="`$(TARGET)-pkg-config --cflags sdl2 | $(SED) 's/-Dmain=SDL_main//'`"
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=

'$(TARGET)-gcc' \
Expand Down

0 comments on commit b4f2887

Please sign in to comment.