Skip to content

Commit

Permalink
Merge pull request #79105 from akien-mga/linux-libsquish-lacks-pkgconfig
Browse files Browse the repository at this point in the history
Linux: Link libsquish directly when unbundling, .pc file unreliable
  • Loading branch information
akien-mga committed Jul 8, 2023
2 parents e115f97 + b3b4f4c commit 79b31a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platform/linuxbsd/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 79b31a8

Please sign in to comment.