diff options
author | Luis Saavedra <luis94855510@gmail.com> | 2014-09-16 00:23:34 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-09-16 00:30:47 (GMT) |
commit | b4f2887860ee2197e211d2edab0c16d01387ffc7 (patch) | |
tree | e96511de5f2755ca4b3a66d2ac40cc48bcec5f33 /src | |
parent | a3b505cc355af975c4c38704c6f0222b5d6569f9 (diff) | |
download | mxe-b4f2887860ee2197e211d2edab0c16d01387ffc7.zip mxe-b4f2887860ee2197e211d2edab0c16d01387ffc7.tar.gz mxe-b4f2887860ee2197e211d2edab0c16d01387ffc7.tar.bz2 |
sdl2_gfx: fix syntax error near unexpected token `) '
Also use `` instead of $() and use $(SED) instead of sed (completely my
fault).
Fixes #506.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sdl2_gfx.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl2_gfx.mk b/src/sdl2_gfx.mk index 8cc01b2..876063b 100644 --- a/src/sdl2_gfx.mk +++ b/src/sdl2_gfx.mk @@ -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' \ |