summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-17 18:01:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-17 18:01:32 +0200
commit7a014a9494bcc52a8df53e333d51650d7dfcad0f (patch)
tree100d1831a010a16379258c40869afcdc56143e28 /opentrack-compat
parent4ee6c132309100d6d68951b33a1d8bdf21177571 (diff)
cmake: work for shared library destructors
Remove linker script usage. I'm worried about the potential interaction with shared libraries' _fini symbol for global destruction. Further, add -fuse-cxa-atexit in order to run the global destructors to begin with. This works on LLVM and GNU. MSVC doesn't export symbols by default.
Diffstat (limited to 'opentrack-compat')
-rw-r--r--opentrack-compat/mingw-version-script.txt8
-rw-r--r--opentrack-compat/posix-version-script.txt8
2 files changed, 0 insertions, 16 deletions
diff --git a/opentrack-compat/mingw-version-script.txt b/opentrack-compat/mingw-version-script.txt
deleted file mode 100644
index fe20ad37..00000000
--- a/opentrack-compat/mingw-version-script.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- global:
- GetDialog?0;
- GetConstructor?0;
- GetMetadata?0;
- local:
- *;
-};
diff --git a/opentrack-compat/posix-version-script.txt b/opentrack-compat/posix-version-script.txt
deleted file mode 100644
index 97edb9aa..00000000
--- a/opentrack-compat/posix-version-script.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- global:
- GetDialog;
- GetConstructor;
- GetMetadata;
- local:
- *;
-}; \ No newline at end of file