SDL: Remove -mwindows flag from pkgconfig file to fix ffmpeg issue.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user