summaryrefslogtreecommitdiff
path: root/platform/server/detect.py
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/server/detect.py
parent30a25b7d0333bf4d00cb09244426f17338fcdf59 (diff)
Enable building against system zstd.
Diffstat (limited to 'platform/server/detect.py')
-rw-r--r--platform/server/detect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/server/detect.py b/platform/server/detect.py
index 2bb4b59e94..60c054713e 100644
--- a/platform/server/detect.py
+++ b/platform/server/detect.py
@@ -98,6 +98,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.)