mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[PR #1862] [MERGED] build(mac): Add -system-libs flag for Homebrew compatibility #2631
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1862
Author: @cfsmp3
Created: 12/20/2025
Status: ✅ Merged
Merged: 12/20/2025
Merged by: @cfsmp3
Base:
master← Head:fix/issue-1580-homebrew-system-libs📝 Commits (2)
6838666build(mac): Add -system-libs flag for Homebrew compatibilityeda4892fix(mac): Correct lib_hash include path for system-libs build📊 Changes
2 files changed (+101 additions, -48 deletions)
View changed files
📝
.github/workflows/build_mac.yml(+13 -0)📝
mac/build.command(+88 -48)📄 Description
Summary
-system-libsflag tomac/build.commandfor Homebrew formula compatibilityProblem
CCExtractor was removed from Homebrew (homebrew-core) because:
See:
Solution
Add a
-system-libsflag that:-lgpaconly-system-libsThis allows a Homebrew formula to use:
Test plan
build_shelljob passes (default bundled build)build_shell_system_libsjob passes (new system libs build)./ccextractor --versionworks in both modesFuture work
Once CI passes, a new Homebrew formula can be submitted to homebrew-core using the
-system-libsflag.Refs #1580, #1534
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.