fix iOS simulator builds

With this hopefully the GitHub Action will pass again.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2024-01-02 19:46:36 -08:00
parent b67aebd462
commit 60f1deb116
2 changed files with 15 additions and 13 deletions

View file

@ -346,9 +346,11 @@ for BUILD_NOW in $BUILD_LOOP; do
rm -f ssrf-version.h
ln -s "$SUBSURFACE_SOURCE"/ssrf-version.h .
# shellcheck disable=SC2086
"$QMAKE" $QMAKEARG "$SUBSURFACE_SOURCE"/Subsurface-mobile.pro \
"$QMAKE" $QMAKEARG ARCH=$ARCH "$SUBSURFACE_SOURCE"/Subsurface-mobile.pro \
-spec macx-ios-clang CONFIG+=$TARGET CONFIG+=$TARGET2 CONFIG+=$DRCONFIG
make -j
# it appears that a first make fails with a missing generated file, which a second
# invocation of make will happily build
make || make
popd
done