Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
AiraYumi committed Apr 11, 2024
1 parent 636d3f5 commit cfc7d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ case "$AUTOBUILD_PLATFORM" in
cmake --install . --config Release
popd

cp -a $PREFIX_RELEASE/include/SDL2/*.* $stage/include/SDL2
cp -a $PREFIX_RELEASE/include/SDL3/*.* $stage/include/SDL2

cp -a $PREFIX_DEBUG/lib/*.so* $stage/lib/debug
cp -a $PREFIX_DEBUG/lib/libSDL2maind.a $stage/lib/debug
cp -a $PREFIX_DEBUG/lib/libSDL3_test.a $stage/lib/debug

cp -a $PREFIX_RELEASE/lib/*.so* $stage/lib/release
cp -a $PREFIX_RELEASE/lib/libSDL2main.a $stage/lib/release
cp -a $PREFIX_RELEASE/lib/libSDL3_test.a $stage/lib/release
;;

*)
Expand All @@ -139,7 +139,7 @@ case "$AUTOBUILD_PLATFORM" in
esac
popd

SDL_VERSION=$(sed -n -e 's/^Version: //p' "$TOP/$SDL_SOURCE_DIR/build_release/SDL2.spec")
SDL_VERSION=$(sed -n -e 's/^Version: //p' "$TOP/$SDL_SOURCE_DIR/build_release/sdl3.pc")

mkdir -p "$stage/LICENSES"
cp "$TOP/$SDL_SOURCE_DIR/LICENSE.txt" "$stage/LICENSES/SDL2.txt"
Expand Down

0 comments on commit cfc7d20

Please sign in to comment.