1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #110540 from akien-mga/linux-system-libturbojpeg

Linux: Allow unbundling libjpeg-turbo to use system package
This commit is contained in:
Thaddeus Crews
2025-09-18 21:02:31 -05:00
2 changed files with 84 additions and 83 deletions

View File

@@ -278,6 +278,9 @@ def configure(env: "SConsEnvironment"):
if not env["builtin_libwebp"]:
env.ParseConfig("pkg-config libwebp --cflags --libs")
if not env["builtin_libjpeg_turbo"]:
env.ParseConfig("pkg-config libturbojpeg --cflags --libs")
if not env["builtin_mbedtls"]:
# mbedTLS only provides a pkgconfig file since 3.6.0, but we still support 2.28.x,
# so fallback to manually specifying LIBS if it fails.