You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Linux: Allow unbundling libjpeg-turbo to use system package
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user