summaryrefslogtreecommitdiff
path: root/misc/gcc/symbols-extension.map
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-12-22 12:08:34 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-12-22 12:12:01 +0100
commit1831677f6366db9ee8ff08497f5dc58ae396b057 (patch)
treef27f2a0513032a14ed4b49ecd448bcbfafaad735 /misc/gcc/symbols-extension.map
parentfa28efa51d232c7e3cd0fe8100861c5d518eefd0 (diff)
downloadfork-godot-webrtc-native-1831677f6366db9ee8ff08497f5dc58ae396b057.tar.gz
fork-godot-webrtc-native-1831677f6366db9ee8ff08497f5dc58ae396b057.tar.bz2
fork-godot-webrtc-native-1831677f6366db9ee8ff08497f5dc58ae396b057.zip
[Windows/MinGW] Only export extension init symbol
When building for Windows using MinGW GCC we need to apply the same workaround we use on Linux to only export the necessary symbols so we can safely statically link libstdc++
Diffstat (limited to 'misc/gcc/symbols-extension.map')
-rw-r--r--misc/gcc/symbols-extension.map6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/gcc/symbols-extension.map b/misc/gcc/symbols-extension.map
new file mode 100644
index 0000000..5af224e
--- /dev/null
+++ b/misc/gcc/symbols-extension.map
@@ -0,0 +1,6 @@
+{
+ global:
+ webrtc_extension_init;
+ local:
+ *;
+};