mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02:00
Added openssl detection and support.
This commit is contained in:
parent
e3767c70c8
commit
d5488e8cd1
@ -61,7 +61,13 @@ def configure(env):
|
|||||||
|
|
||||||
if not err:
|
if not err:
|
||||||
env.ParseConfig("pkg-config libcares --cflags --libs")
|
env.ParseConfig("pkg-config libcares --cflags --libs")
|
||||||
|
|
||||||
|
err = os.system("pkg-config openssl --modversion --silence-errors > /dev/null ")
|
||||||
|
|
||||||
|
if not err:
|
||||||
|
env.ParseConfig("pkg-config openssl --cflags --libs")
|
||||||
|
env.Append(CPPDEFINES=["OPENSSL_FOUND"])
|
||||||
|
|
||||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/lib/inc"])
|
env.Prepend(CPPPATH=["#modules/drogon/drogon/lib/inc"])
|
||||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/config"])
|
env.Prepend(CPPPATH=["#modules/drogon/drogon/config"])
|
||||||
env.Prepend(CPPPATH=["#modules/drogon"])
|
env.Prepend(CPPPATH=["#modules/drogon"])
|
||||||
|
Loading…
Reference in New Issue
Block a user