Skip to content

Commit 8e9e96a

Browse files
committed
tentative fix 1
1 parent 4272f6c commit 8e9e96a

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/steam-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
bin/build.sh steam_linux
4747
4848
- name: Upload Artifact
49-
uses: actions/actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v4 # Use @v4 for standard stability
5050
with:
5151
name: steam-linux-build
5252
path: |

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ elseif(IS_MINGW OR BUILDING_FOR_STEAM)
7777
set(ZLIB_BUILD_TESTING OFF CACHE BOOL "Disable zlib test targets like infcover")
7878
#cmake --build build/mingw --target help
7979

80-
# Global toggle (affects most CMake projects)
80+
81+
# Global toggle (affects most CMake projects)
8182
set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
8283

8384
# SDL3 specific toggles
@@ -187,7 +188,7 @@ elseif(IS_MINGW)
187188
-s
188189
)
189190
target_link_libraries(${PROJECT_NAME}
190-
PRIVATE SDL3::SDL3 SDL3_mixer::SDL3_mixer zlib src_lib
191+
PRIVATE SDL3::SDL3 SDL3_mixer::SDL3_mixer zlibstatic src_lib
191192
)
192193

193194
# link application resources

bin/refresh.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,13 @@ def generate_file(folder, sub_folders):
8181
)
8282

8383
lines.append("")
84-
lines.append("if(IS_MINGW OR BUILDING_FOR_STEAM)")
84+
lines.append("if(IS_MINGW)")
8585
lines.append(
86-
f"target_link_libraries({master_lib} PRIVATE SDL3_mixer::SDL3_mixer zlibstatic)"
86+
f" target_link_libraries({master_lib} PRIVATE SDL3_mixer::SDL3_mixer zlibstatic)"
87+
)
88+
lines.append("elseif(BUILDING_FOR_STEAM)")
89+
lines.append(
90+
f" target_link_libraries({master_lib} PRIVATE SDL3_mixer::SDL3_mixer zlibstatic)"
8791
)
8892
lines.append("endif()")
8993
lines.append("")

0 commit comments

Comments
 (0)