mirror of
https://github.com/godotengine/webrtc-native.git
synced 2026-01-03 14:09:58 +03:00
Compare commits
2 Commits
1.0.4-stab
...
1.0.5-stab
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86d080b328 | ||
|
|
1831677f63 |
@@ -167,11 +167,13 @@ env.Depends(sources, ssl + rtc)
|
|||||||
# symbols using a GCC version script, or we might end up overriding symbols from other libraries.
|
# symbols using a GCC version script, or we might end up overriding symbols from other libraries.
|
||||||
# Using "-fvisibility=hidden" will not work, since libstdc++ explicitly exports its symbols.
|
# Using "-fvisibility=hidden" will not work, since libstdc++ explicitly exports its symbols.
|
||||||
symbols_file = None
|
symbols_file = None
|
||||||
if env["platform"] == "linux":
|
if env["platform"] == "linux" or (
|
||||||
|
env["platform"] == "windows" and env.get("use_mingw", False) and not env.get("use_llvm", False)
|
||||||
|
):
|
||||||
if env["godot_version"] == "3":
|
if env["godot_version"] == "3":
|
||||||
symbols_file = env.File("misc/dist/linux/symbols-gdnative.map")
|
symbols_file = env.File("misc/gcc/symbols-gdnative.map")
|
||||||
else:
|
else:
|
||||||
symbols_file = env.File("misc/dist/linux/symbols-extension.map")
|
symbols_file = env.File("misc/gcc/symbols-extension.map")
|
||||||
env.Append(
|
env.Append(
|
||||||
LINKFLAGS=[
|
LINKFLAGS=[
|
||||||
"-Wl,--no-undefined,--version-script=" + symbols_file.abspath,
|
"-Wl,--no-undefined,--version-script=" + symbols_file.abspath,
|
||||||
|
|||||||
Reference in New Issue
Block a user