diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-06-21 04:34:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 04:34:38 +0200 |
commit | b03099f7b4d29acd06eca67914155f9425da92c1 (patch) | |
tree | b929a16bde002200f430ec4df0d44defd90f0481 /SConstruct | |
parent | 32ae1d11958dcf04d0bd9c5c5ca98e21221a57d7 (diff) | |
parent | 85efdfd6ce365a0ac8502777b8c142be463cfe29 (diff) | |
download | fork-godot-webrtc-native-b03099f7b4d29acd06eca67914155f9425da92c1.tar.gz fork-godot-webrtc-native-b03099f7b4d29acd06eca67914155f9425da92c1.tar.bz2 fork-godot-webrtc-native-b03099f7b4d29acd06eca67914155f9425da92c1.zip |
Merge pull request #105 from Faless/build/tool_options
Linux ARM32/ARM64, better toolchains support.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -145,9 +145,13 @@ for tool in ["openssl", "cmake", "rtc"]: ssl = env.OpenSSL() -rtc = env.BuildLibDataChannel() +rtc = env.BuildLibDataChannel(ssl) -env.Depends(sources, [ssl, rtc]) +# Forces building our sources after OpenSSL and libdatachannel. +# This is because OpenSSL headers are generated by their build system and SCons doesn't know about them. +# Note: This might not be necessary in this specific case since our sources doesn't include OpenSSL headers directly, +# but it's better to be safe in case of indirect inclusions by one of our other dependencies. +env.Depends(sources, ssl + rtc) # Make the shared library result_name = "libwebrtc_native{}{}".format(env["suffix"], env["SHLIBSUFFIX"]) |