summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-06 15:32:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-06 15:32:42 +0200
commitb3b4f4c1c9cc4a37c4f2ee3ad4720834274f3a38 (patch)
tree9a4c77208dbf923129635c702d24d388b978a7d7 /platform/linuxbsd/detect.py
parentb7c2fd2e9a7f01644e15fef86083a3e0e0221e4d (diff)
downloadredot-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.py3
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")