From 1831677f6366db9ee8ff08497f5dc58ae396b057 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Fri, 22 Dec 2023 12:08:34 +0100 Subject: [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++ --- misc/dist/linux/symbols-extension.map | 6 ------ misc/dist/linux/symbols-gdnative.map | 9 --------- misc/gcc/symbols-extension.map | 6 ++++++ misc/gcc/symbols-gdnative.map | 9 +++++++++ 4 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 misc/dist/linux/symbols-extension.map delete mode 100644 misc/dist/linux/symbols-gdnative.map create mode 100644 misc/gcc/symbols-extension.map create mode 100644 misc/gcc/symbols-gdnative.map (limited to 'misc') diff --git a/misc/dist/linux/symbols-extension.map b/misc/dist/linux/symbols-extension.map deleted file mode 100644 index 5af224e..0000000 --- a/misc/dist/linux/symbols-extension.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - global: - webrtc_extension_init; - local: - *; -}; diff --git a/misc/dist/linux/symbols-gdnative.map b/misc/dist/linux/symbols-gdnative.map deleted file mode 100644 index d048dc3..0000000 --- a/misc/dist/linux/symbols-gdnative.map +++ /dev/null @@ -1,9 +0,0 @@ -{ - global: - godot_gdnative_singleton; - godot_gdnative_init; - godot_gdnative_terminate; - godot_nativescript_init; - local: - *; -}; 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: + *; +}; diff --git a/misc/gcc/symbols-gdnative.map b/misc/gcc/symbols-gdnative.map new file mode 100644 index 0000000..d048dc3 --- /dev/null +++ b/misc/gcc/symbols-gdnative.map @@ -0,0 +1,9 @@ +{ + global: + godot_gdnative_singleton; + godot_gdnative_init; + godot_gdnative_terminate; + godot_nativescript_init; + local: + *; +}; -- cgit v1.2.3