SDL2: Use bash instead of /bin/sh. Fixes #2541

This commit is contained in:
TheGreatMcPain 2020-07-08 00:45:10 -05:00 committed by Tony Theodore
parent cb0b05b387
commit ac3d0ebd9e
1 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ define $(PKG)_UPDATE
endef endef
define $(PKG)_BUILD define $(PKG)_BUILD
cd '$(1)' && aclocal -I acinclude && autoconf && ./configure \ cd '$(1)' && aclocal -I acinclude && autoconf && $(SHELL) ./configure \
$(MXE_CONFIGURE_OPTS) \ $(MXE_CONFIGURE_OPTS) \
--enable-threads \ --enable-threads \
--enable-directx \ --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,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.pc'
$(SED) -i 's,-XCClinker,,' '$(1)/sdl2-config' $(SED) -i 's,-XCClinker,,' '$(1)/sdl2-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j '$(JOBS)' SHELL=$(SHELL)
$(MAKE) -C '$(1)' -j 1 install $(MAKE) -C '$(1)' -j 1 install SHELL=$(SHELL)
ln -sf '$(PREFIX)/$(TARGET)/bin/sdl2-config' '$(PREFIX)/bin/$(TARGET)-sdl2-config' ln -sf '$(PREFIX)/$(TARGET)/bin/sdl2-config' '$(PREFIX)/bin/$(TARGET)-sdl2-config'
'$(TARGET)-gcc' \ '$(TARGET)-gcc' \