summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-23 23:46:47 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-23 23:46:47 -0400
commita4083886233e56e423b3f75e55cced5913d1f02a (patch)
treea8126b3f6fba38e6e21a3bbf77bfe16a2f177b98 /platform/x11
parent30a25b7d0333bf4d00cb09244426f17338fcdf59 (diff)
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 efd388e44f..b47d943174 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -167,6 +167,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.)