Skip to content

Commit

Permalink
Update rebuild script
Browse files Browse the repository at this point in the history
  • Loading branch information
UK authored and UK committed Jan 1, 2025
1 parent 203db85 commit 9bd457b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raylib_dll/build_raylib_linux_cross.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
mkdir -p build
cd build
cmake -D CMAKE_C_FLAGS=-isystem\ /usr/aarch64-linux-gnu/include -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER_TARGET=aarch64-linux-gnu -D CMAKE_SYSTEM_PROCESSOR=ARM -D BUILD_SHARED_LIBS=ON -D BUILD_EXAMPLES=OFF -D PLATFORM=Desktop -D GRAPHICS="GRAPHICS_API_OPENGL_21" -D CMAKE_C_COMPILER=clang ../raylib
cmake -D CMAKE_C_FLAGS=-isystem\ /usr/aarch64-linux-gnu/include -D CMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER_TARGET=aarch64-linux-gnu -D CMAKE_SYSTEM_PROCESSOR=aarch64 -D BUILD_SHARED_LIBS=ON -D BUILD_EXAMPLES=OFF -D PLATFORM=Desktop -D GRAPHICS="GRAPHICS_API_OPENGL_21" -D CMAKE_C_COMPILER=clang ../raylib
make
export ARCH=aarch64
cp raylib/libraylib.so ../../lib/libraylib.${ARCH}.so

0 comments on commit 9bd457b

Please sign in to comment.