diff options
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"]) |