summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:22:18 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-07-08 18:22:18 +0200
commit79b31a8357e26a510ed68edebb3c9cf905f807e9 (patch)
tree75e9c00381d58be6b521e29bbe876ca07fe8ab5c /platform/linuxbsd/detect.py
parente115f977686bf32b5d7e76ed90f716d8d52fb05a (diff)
parentb3b4f4c1c9cc4a37c4f2ee3ad4720834274f3a38 (diff)
downloadredot-engine-79b31a8357e26a510ed68edebb3c9cf905f807e9.tar.gz
Merge pull request #79105 from akien-mga/linux-libsquish-lacks-pkgconfig
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 6bde9233c2..ce743fbf8a 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")