summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-12-21 23:40:15 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2017-01-31 14:36:14 -0500
commit86d039676173f236f3c7b54a609d9ad8a632a593 (patch)
tree217411584cb242db17567df99ce5b7e5d28713d8 /SConstruct
parentf5356302a7eda8040bde81e9e08c346074e138ed (diff)
downloadlighttpd1.4-86d039676173f236f3c7b54a609d9ad8a632a593.tar.gz
lighttpd1.4-86d039676173f236f3c7b54a609d9ad8a632a593.zip
[build] only mod_openssl depends on -lssl
some other modules depend only on -lcrypto, when available, for SHA1, HMAC, MD5, etc
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 283d03c6..015ac633 100644
--- a/SConstruct
+++ b/SConstruct
@@ -253,7 +253,7 @@ if 1:
if env['with_openssl']:
if autoconf.CheckLibWithHeader('ssl', 'openssl/ssl.h', 'C'):
- autoconf.env.Append(CPPFLAGS = [ '-DHAVE_OPENSSL_SSL_H', '-DHAVE_LIBSSL'] , LIBSSL = 'ssl', LIBCRYPTO = 'crypto', LIBS = [ 'ssl', 'crypto' ])
+ autoconf.env.Append(CPPFLAGS = [ '-DHAVE_OPENSSL_SSL_H', '-DHAVE_LIBSSL'] , LIBSSL = 'ssl', LIBCRYPTO = 'crypto', LIBS = [ 'crypto' ])
if env['with_gzip']:
if autoconf.CheckLibWithHeader('z', 'zlib.h', 'C'):
@@ -362,7 +362,7 @@ if env['with_mysql']:
env.Append(CPPFLAGS = [ '-DHAVE_MYSQL_H', '-DHAVE_LIBMYSQL' ], LIBMYSQL = 'mysqlclient')
env['LIBS'] = oldlib
-if re.compile("cygwin|mingw").search(env['PLATFORM']):
+if re.compile("cygwin|mingw|midipix").search(env['PLATFORM']):
env.Append(COMMON_LIB = 'bin')
elif re.compile("darwin|aix").search(env['PLATFORM']):
env.Append(COMMON_LIB = 'lib')