summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-08-21 22:31:06 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-08-21 22:31:06 -0300
commit2de5e121164eee707772fb1dfa1e8bef1ca3e80c (patch)
tree4a639b93812d2da03c6f5583d4b743c6102c0486 /platform/x11
parentc2e2f2e0aebf6342e6f18ae5d67b6a825590675a (diff)
fix for built-in ssl (easier to build 32 bits export)
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/detect.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py
index ff85e286db..eba8a965fa 100644
--- a/platform/x11/detect.py
+++ b/platform/x11/detect.py
@@ -126,7 +126,8 @@ def configure(env):
env.ParseConfig('pkg-config x11 --cflags --libs')
env.ParseConfig('pkg-config xinerama --cflags --libs')
env.ParseConfig('pkg-config xcursor --cflags --libs')
- env.ParseConfig('pkg-config openssl --cflags --libs')
+ if (env("openssl"]=="yes"):
+ env.ParseConfig('pkg-config openssl --cflags --libs')
env.ParseConfig('pkg-config freetype2 --cflags --libs')