diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:12:40 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:12:40 +0000 |
commit | 0bc0c8464fa84c1873dadb5cee5b053b890ed61a (patch) | |
tree | 2462c2b6cd7b871e401b644de855af589d216fe5 /libboost_thread.so | |
parent | f1d6eb29c0e0330cb5aa0f2cc3c069ad50f2b513 (diff) |
automatic import of boostopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'libboost_thread.so')
-rw-r--r-- | libboost_thread.so | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libboost_thread.so b/libboost_thread.so new file mode 100644 index 0000000..db50610 --- /dev/null +++ b/libboost_thread.so @@ -0,0 +1,21 @@ +changequote(`[', `]')dnl +/* GNU ld script + + Boost.Thread header files pull in enough of Boost.System that + symbols from the latter library are referenced by a compiled object + that includes Boost.Thread headers. libboost_system-mt.so is among + libboost_thread-mt.so's DT_NEEDED, but program linker requires that + missing symbols are satisfied by direct dependency, not by a + transitive one. Hence this linker script, which brings in the + Boost.System DSO. */ + +INPUT(libboost_thread.so.VERSION) +INPUT(libboost_system.so.VERSION) +ifdef([HAS_ATOMIC_FLAG_LOCKFREE],[], +[ +/* If the given architecture doesn't have lock-free implementation of + boost::atomic_flag, the dependency on Boost.Atomic may leak from + the header files to client binaries. */ + +INPUT(libboost_atomic.so.VERSION) +])dnl |