SDL: Remove -mwindows flag from pkgconfig file to fix ffmpeg issue.

This commit is contained in:
Alexpux
2014-04-29 10:24:43 +04:00
parent ccd2df16bb
commit b4429a6da5

View File

@@ -4,7 +4,7 @@ _realname=SDL
_mingw_suff=mingw-w64-${CARCH}
pkgname="${_mingw_suff}-${_realname}"
pkgver=1.2.15
pkgrel=2
pkgrel=3
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (mingw-w64)"
arch=('any')
url="http://libsdl.org"
@@ -30,6 +30,5 @@ package() {
cd "${srcdir}/build-${MINGW_CHOST}"
make DESTDIR="$pkgdir" install
#rm -r "${pkgdir}${MINGW_PREFIX}/share"
#ln -s "${pkgdir}${MINGW_PREFIX}/bin/sdl-config" "${pkgdir}${MINGW_PREFIX}/bin/${MINGW_CHOST}-sdl-config"
sed -e "s|-mwindows||g" -i ${pkgdir}${MINGW_PREFIX}/lib/pkgconfig/sdl.pc
}