summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-10 09:53:52 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-10 11:14:16 +0000
commit1e063f223e33d6946a5165795bbb90d404f86e00 (patch)
tree35aa222db03c2b759fffc2fdf2cca52aef243730 /cscript
parent4c2fb8ea9d3c02ea5243122201eb8282daac5adb (diff)
Fix build with OpenSSL 1.1 and later.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 78ccf518..17fa4f01 100644
--- a/cscript
+++ b/cscript
@@ -47,6 +47,8 @@ def build(target, options):
cmd += ' --disable-tests'
if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
target.append_with_space('CXXFLAGS', '-std=c++11')
+ if (target.distro == 'debian' and target.version == 'unstable'):
+ cmd += ' --openssl-new-api'
elif target.platform == 'windows':
cmd += ' --target-windows --disable-gcov --disable-tests'
if target.version == 'xp':