From 7a014a9494bcc52a8df53e333d51650d7dfcad0f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 17 May 2016 18:01:32 +0200 Subject: 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. --- opentrack-compat/posix-version-script.txt | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 opentrack-compat/posix-version-script.txt (limited to 'opentrack-compat/posix-version-script.txt') 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 -- cgit v1.2.3