mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #1922] [MERGED] [FIX]: utf8proc include path for system library builds #2717
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/1922
Author: @x15sr71
Created: 12/29/2025
Status: ✅ Merged
Merged: 12/29/2025
Merged by: @cfsmp3
Base:
master← Head:fix/utf8proc-include-path📝 Commits (1)
a18eaa2fix: utf8proc include path for system library builds📊 Changes
3 files changed (+6 additions, -9 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
linux/build(+1 -8)📝
src/lib_ccx/params.c(+4 -1)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Problem
CCExtractor uses a non-standard include path for
utf8procinsrc/lib_ccx/params.c:#include <utf8proc/utf8proc.h>However, utf8proc is installed as
<utf8proc.h>(without a subdirectory) on all major platforms:/usr/include/utf8proc.h/usr/include/utf8proc.h$(brew --prefix)/include/utf8proc.h$out/include/utf8proc.hinstalled/<triplet>/include/utf8proc.hThis caused build failures when using the
-system-libsflag on Homebrew Linux.Solution
This PR uses
__has_include()to support both paths:<utf8proc.h>(standard location)<utf8proc/utf8proc.h>(CCExtractor's vendored copy)Also removes the temporary symlink workaround from
linux/buildas it's no longer needed.Testing
-system-libsand without on Linux🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.