diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-06 15:32:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-07-06 15:32:42 +0200 |
commit | b3b4f4c1c9cc4a37c4f2ee3ad4720834274f3a38 (patch) | |
tree | 9a4c77208dbf923129635c702d24d388b978a7d7 /platform/linuxbsd/detect.py | |
parent | b7c2fd2e9a7f01644e15fef86083a3e0e0221e4d (diff) | |
download | redot-engine-b3b4f4c1c9cc4a37c4f2ee3ad4720834274f3a38.tar.gz |
Linux: Link libsquish directly when unbundling, .pc file unreliable
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 9faa73d6d2..8ca4825ee3 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -235,7 +235,8 @@ def configure(env: "Environment"): env.ParseConfig("pkg-config libenet --cflags --libs") if not env["builtin_squish"]: - env.ParseConfig("pkg-config libsquish --cflags --libs") + # libsquish doesn't reliably install its .pc file, so some distros lack it. + env.Append(LIBS=["libsquish"]) if not env["builtin_zstd"]: env.ParseConfig("pkg-config libzstd --cflags --libs") |