Skip to content

Commit

Permalink
try to make RSGL building more advanced (macos) (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed May 11, 2024
1 parent ae4880a commit 3de6bdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
make CUSTOM_CFLAGS="-target arm64-apple-macos11 -DGL_SILENCE_DEPRECATION" CUSTOM_LDFLAGS="-target arm64-apple-macos11"
# Join x86_64 and arm64 dynamic
lipo -create -output build/${{ env.RELEASE_NAME }}/lib/libRSGL${RSGL_VERSION}.dylib /tmp/libRSGL_x86_64.${RSGL_VERSION}.dylib /tmp/libRSGL_arm64.${RSGL_VERSION}.dylib
lipo -create -output build/${{ env.RELEASE_NAME }}/lib/libRSGL${RSGL_VERSION}.dylib /tmp/libRSGL_x86_64${RSGL_VERSION}.dylib /tmp/libRSGL_arm64${RSGL_VERSION}.dylib
ln -sv libRSGL${RSGL_VERSION}.dylib build/${{ env.RELEASE_NAME }}/lib/libRSGL.dylib
ln -sv libRSGL${RSGL_VERSION}.dylib build/${{ env.RELEASE_NAME }}/lib/libRSGL.${RSGL_API_VERSION}.dylib
ln -sv libRSGL${RSGL_VERSION}.dylib build/${{ env.RELEASE_NAME }}/lib/libRSGL${RSGL_API_VERSION}.dylib
- name: Generate Artifacts
run: |
Expand Down

0 comments on commit 3de6bdd

Please sign in to comment.