Small changes (reorders) to include paths.

This commit is contained in:
Relintai 2021-11-15 10:58:26 +01:00
parent 3db99e06e1
commit 9b78fb066e
2 changed files with 8 additions and 6 deletions

View File

@ -185,6 +185,8 @@ opts.Update(env_base)
# add default include paths
env_base.Prepend(CPPPATH=["#"])
env_base.Prepend(CPPPATH=["#libs"])
env_base.Prepend(LINKFLAGS=["-lpthread"])
#env_base.Append(CXX=["-o3"])

View File

@ -73,13 +73,13 @@ def configure(env):
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"])
env.Append(CPPPATH=["#modules/drogon/drogon/lib/inc"])
env.Append(CPPPATH=["#modules/drogon"])
env.Prepend(CPPPATH=["#modules/drogon/trantor"])
env.Prepend(CPPPATH=["#modules/drogon/trantor/net"])
env.Prepend(CPPPATH=["#modules/drogon/trantor/net/inner"])
env.Prepend(CPPPATH=["#modules/drogon/trantor/utils"])
env.Append(CPPPATH=["#modules/drogon/trantor"])
env.Append(CPPPATH=["#modules/drogon/trantor/net"])
env.Append(CPPPATH=["#modules/drogon/trantor/net/inner"])
env.Append(CPPPATH=["#modules/drogon/trantor/utils"])
env.Append(LINKFLAGS=["-ldl"])