mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[feature request] allow linking to system libraries #839
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?
Originally created by @apteryks on GitHub (Jul 22, 2025).
Hi,
The build currently relies on libraries bundled in source form under the src/thirdparty directory. It'd be nice if ccextractor's build system was able to detect compatible libraries from the system and use these instead, ideally being able to function even if the
src/thirdpartydirectory does not exist.freetype, libpng, utf8proc, zlib, protobuf-c at least are all available from my system for example (GNU Guix).
@cfsmp3 commented on GitHub (Dec 8, 2025):
We have vendored some libraries because it makes things much easier to build cross platform. Considering its size, it's just not worth the trouble of checking if there's a system version etc (and then dynamically link etc)
@apteryks commented on GitHub (Dec 9, 2025):
@cfsmp3 CMake should make this relatively easy. It'd be a great improvement for distributions, as freetype and libpng have had security vulnerabilities in the past, so it's important to be able to patch these quickly (and updating/patching them in a single place is easier/faster for distros). I'll try to review PR #1761 now.
@cfsmp3 commented on GitHub (Dec 26, 2025):
This should be done already, see
7075f6291dLet us know if that's enough (or not)
@cfsmp3 commented on GitHub (Jan 3, 2026):
Closing this this was done and we've tested it for homebrew