diff options
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index ff85e286db..b8890a3a2f 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -126,7 +126,9 @@ 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') |