summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheGreatMcPain <sixsupersonic@gmail.com>2020-07-08 05:45:10 (GMT)
committerTony Theodore <tonyt@logyst.com>2020-07-08 05:53:53 (GMT)
commitac3d0ebd9e4a29a0e0f7f6bda37682221fd054c0 (patch)
treece4022a3e230e5e6db72f9e754930c82ce83cf66 /src
parentcb0b05b387d76bfe61734d4ed170e63ff145dc89 (diff)
downloadmxe-ac3d0ebd9e4a29a0e0f7f6bda37682221fd054c0.zip
mxe-ac3d0ebd9e4a29a0e0f7f6bda37682221fd054c0.tar.gz
mxe-ac3d0ebd9e4a29a0e0f7f6bda37682221fd054c0.tar.bz2
SDL2: Use bash instead of /bin/sh. Fixes #2541
Diffstat (limited to 'src')
-rw-r--r--src/sdl2.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdl2.mk b/src/sdl2.mk
index ea2e064..2998e48 100644
--- a/src/sdl2.mk
+++ b/src/sdl2.mk
@@ -18,7 +18,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && aclocal -I acinclude && autoconf && ./configure \
+ cd '$(1)' && aclocal -I acinclude && autoconf && $(SHELL) ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-threads \
--enable-directx \
@@ -27,8 +27,8 @@ define $(PKG)_BUILD
$(SED) -i 's,defined(__MINGW64_VERSION_MAJOR),defined(__MINGW64_VERSION_MAJOR) \&\& defined(_WIN64),' '$(1)/include/SDL_cpuinfo.h'
$(SED) -i 's,-XCClinker,,' '$(1)/sdl2.pc'
$(SED) -i 's,-XCClinker,,' '$(1)/sdl2-config'
- $(MAKE) -C '$(1)' -j '$(JOBS)'
- $(MAKE) -C '$(1)' -j 1 install
+ $(MAKE) -C '$(1)' -j '$(JOBS)' SHELL=$(SHELL)
+ $(MAKE) -C '$(1)' -j 1 install SHELL=$(SHELL)
ln -sf '$(PREFIX)/$(TARGET)/bin/sdl2-config' '$(PREFIX)/bin/$(TARGET)-sdl2-config'
'$(TARGET)-gcc' \