Skip to content

Commit 81d34c5

Browse files
committed
pygame_sdl2: don't use system's sdl2-config on 'install_headers'
1 parent 7556e3f commit 81d34c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/pygame_sdl2-static.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ PYGAME_SDL2_ROOT=$ROOT/pygame_sdl2
4949
-b emscripten-static/build-lib -t emscripten-static/build-temp \
5050
build \
5151
install -O2 --root $INSTALLDIR --prefix ''
52-
$CROSSPYTHON setup.py install_headers
52+
PYGAME_SDL2_CFLAGS='' PYGAME_SDL2_LDFLAGS='' \
53+
$CROSSPYTHON \
54+
setup.py install_headers
5355

5456
rm -f $INSTALLDIR/lib/python2.7/site-packages/pygame_sdl2/*.so
5557
)

0 commit comments

Comments
 (0)