mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-19 04:22:49 +00:00
[PR #1829] [MERGED] build(autoconf): add tesseract/leptonica linking for HARDSUBX #2584
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/1829
Author: @cfsmp3
Created: 12/15/2025
Status: ✅ Merged
Merged: 12/15/2025
Merged by: @cfsmp3
Base:
master← Head:fix/autoconf-hardsubx-tesseract📝 Commits (1)
d8698dcbuild(autoconf): add tesseract/leptonica linking for HARDSUBX📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
linux/Makefile.am(+6 -0)📄 Description
Summary
This is the autoconf equivalent of the CMake fix in PR #1760.
${tesseract_CFLAGS},${lept_CFLAGS}) to the HARDSUBX block inlinux/Makefile.am${tesseract_LIBS},${lept_LIBS}) to the HARDSUBX blockBackground
PR #1760 fixed the CMake build system to properly link tesseract/leptonica when building with
-DWITH_HARDSUBX=ON -DWITH_OCR=OFF. The autoconf build system had a similar structure where tesseract/leptonica were only explicitly linked in the OCR block.Note: The autoconf
configure.acalready setsOCR_IS_ENABLEDwhen HARDSUBX is enabled, so the build would technically work via the OCR block. However, this change makes the dependency explicit and consistent with the CMake fix.Related
Test plan
--enable-hardsubxwithout--enable-ocr🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.