Merge pull request #2114 from fewtarius/dev

Add another guard to SDL2.
This commit is contained in:
fewtarius 2023-09-21 07:16:27 -04:00 committed by GitHub
commit 12cd918676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,12 +80,15 @@ pre_configure_target(){
### It may be better served as a hook in scripts/build.
###
cd $(get_build_dir SDL2)
for PATCH in ${PKG_DIR}/patches/${PKG_PATCH_DIRS_TARGET}/*
do
patch -p1 <${PATCH}
done
cd -
if [ -d "${PKG_DIR}/patches/${PKG_PATCH_DIRS_TARGET}" ]
then
cd $(get_build_dir SDL2)
for PATCH in ${PKG_DIR}/patches/${PKG_PATCH_DIRS_TARGET}/*
do
patch -p1 <${PATCH}
done
cd -
fi
### End
fi