mirror of
https://github.com/ariya/phantomjs.git
synced 2024-12-12 12:17:47 +03:00
parent
ad25fff054
commit
6090f5457d
11
build.py
11
build.py
@ -228,8 +228,15 @@ class PhantomJSBuilder(object):
|
|||||||
if not openssl_found:
|
if not openssl_found:
|
||||||
raise RuntimeError("Could not find OpenSSL")
|
raise RuntimeError("Could not find OpenSSL")
|
||||||
else:
|
else:
|
||||||
# TODO: Implement
|
if os.path.exists(openssl + "/include/openssl/opensslv.h"):
|
||||||
raise RuntimeError("Not implemented")
|
openssl_found = True
|
||||||
|
openssl_include = "-I" + openssl + "/include"
|
||||||
|
openssl_lib = "-L" + openssl + "/lib"
|
||||||
|
platformOptions.extend([openssl_include, openssl_lib])
|
||||||
|
print("Using OpenSSL at %s" % openssl)
|
||||||
|
|
||||||
|
if not openssl_found:
|
||||||
|
raise RuntimeError("No OpenSSL specified: OPENSSL environment variable not found")
|
||||||
else:
|
else:
|
||||||
# options specific to other Unixes, like Linux, BSD, ...
|
# options specific to other Unixes, like Linux, BSD, ...
|
||||||
platformOptions.extend([
|
platformOptions.extend([
|
||||||
|
Loading…
Reference in New Issue
Block a user