diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-17 22:42:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 22:42:33 +0200 |
commit | 1436024f595fd99cd885950319867fd3d371963b (patch) | |
tree | 00454cbbbc84ff6bc3992d50d677fe72bb0e369a /builders.py | |
parent | 1769730ef0344fe1011681a207a0c68383b6d5f6 (diff) | |
parent | 690b31e7dd8d4583c50c1f5c60fde3c6888ff7bf (diff) | |
download | fork-godot-webrtc-native-1436024f595fd99cd885950319867fd3d371963b.tar.gz fork-godot-webrtc-native-1436024f595fd99cd885950319867fd3d371963b.tar.bz2 fork-godot-webrtc-native-1436024f595fd99cd885950319867fd3d371963b.zip |
Merge pull request #65 from Faless/bump/beta3
[Upstream] Update to Godot Beta 3
Diffstat (limited to 'builders.py')
-rw-r--r-- | builders.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builders.py b/builders.py index 8f85cd3..284ac1e 100644 --- a/builders.py +++ b/builders.py @@ -11,7 +11,7 @@ def get_deps_dir(env): def get_deps_build_dir(env): - return get_deps_dir(env) + "/build/{}.{}.{}.dir".format(env["platform"], env["target"], env["arch_suffix"]) + return get_deps_dir(env) + "/build/build{}.{}.dir".format(env["suffix"], "RelWithDebInfo" if env["debug_symbols"] else "Release") def get_rtc_source_dir(env): @@ -63,7 +63,7 @@ def ssl_action(target, source, env): "--prefix=%s" % install_dir, "--openssldir=%s" % install_dir, ] - if env["target"] == "debug": + if env["debug_symbols"]: args.append("-d") if env["platform"] != "windows": @@ -163,7 +163,7 @@ def rtc_action(target, source, env): "-DOPENSSL_INCLUDE_DIR=%s" % get_ssl_include_dir(env), "-DOPENSSL_SSL_LIBRARY=%s/libssl.a" % get_ssl_build_dir(env), "-DOPENSSL_CRYPTO_LIBRARY=%s/libcrypto.a" % get_ssl_build_dir(env), - "-DCMAKE_BUILD_TYPE=%s" % ("Release" if env["target"] == "release" else "Debug"), + "-DCMAKE_BUILD_TYPE=%s" % ("RelWithDebInfo" if env["debug_symbols"] else "Release"), ] if env["platform"] == "android": abi = { |