[PR #1304] [MERGED] Fix build with musl libc #437

Open
opened 2026-01-29 19:07:55 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stenzek/duckstation/pull/1304
Author: @michaelforney
Created: 12/25/2020
Status: Merged
Merged: 12/25/2020
Merged by: @stenzek

Base: masterHead: musl


📝 Commits (2)

  • 7b021a5 Build: Fix threads detection on libc with built-in support
  • e8cd072 FileSystem: Include <limits.h> for PATH_MAX

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CMakeModules/FindSDL2.cmake (+1 -1)
📝 src/common/file_system.cpp (+1 -0)

📄 Description

Here are a couple of changes I needed to build on Linux with musl libc.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stenzek/duckstation/pull/1304 **Author:** [@michaelforney](https://github.com/michaelforney) **Created:** 12/25/2020 **Status:** ✅ Merged **Merged:** 12/25/2020 **Merged by:** [@stenzek](https://github.com/stenzek) **Base:** `master` ← **Head:** `musl` --- ### 📝 Commits (2) - [`7b021a5`](https://github.com/stenzek/duckstation/commit/7b021a5cfb0a0600dd2f758c0118a81f553afe25) Build: Fix threads detection on libc with built-in support - [`e8cd072`](https://github.com/stenzek/duckstation/commit/e8cd072050763bd95d950309a80e4455b2e351ba) FileSystem: Include <limits.h> for PATH_MAX ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CMakeModules/FindSDL2.cmake` (+1 -1) 📝 `src/common/file_system.cpp` (+1 -0) </details> ### 📄 Description Here are a couple of changes I needed to build on Linux with musl libc. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 19:07:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#437