summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-24 08:58:38 +0200
committerGitHub <noreply@github.com>2017-09-24 08:58:38 +0200
commitdf5dab738a9aa35b75e439732cfc4d23e16789cd (patch)
tree8c8eb83a3f65cfcd968518edfd308eb8096b5238 /platform/x11
parent35d15484fea001dbe167b675098159a95e2da19b (diff)
parenta4083886233e56e423b3f75e55cced5913d1f02a (diff)
Merge pull request #11527 from QuLogic/system-zstd
Enable building against system zstd.
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index f0503e8bfa..591398dd6d 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -158,6 +158,9 @@ def configure(env):
if (env['builtin_squish'] == 'no' and env["tools"] == "yes"):
env.ParseConfig('pkg-config libsquish --cflags --libs')
+ if env['builtin_zstd'] == 'no':
+ env.ParseConfig('pkg-config libzstd --cflags --libs')
+
# Sound and video libraries
# Keep the order as it triggers chained dependencies (ogg needed by others, etc.)