Blame SOURCES/libboost_thread.so

e1f61e
changequote(`[', `]')dnl
e1f61e
/* GNU ld script
e1f61e
e1f61e
   Boost.Thread header files pull in enough of Boost.System that
e1f61e
   symbols from the latter library are referenced by a compiled object
e1f61e
   that includes Boost.Thread headers.  libboost_system-mt.so is among
e1f61e
   libboost_thread-mt.so's DT_NEEDED, but program linker requires that
e1f61e
   missing symbols are satisfied by direct dependency, not by a
e1f61e
   transitive one.  Hence this linker script, which brings in the
e1f61e
   Boost.System DSO.  */
e1f61e
e1f61e
INPUT(libboost_thread.so.VERSION)
e1f61e
INPUT(libboost_system.so.VERSION)
e1f61e
ifdef([HAS_ATOMIC_FLAG_LOCKFREE],[],
e1f61e
[
e1f61e
/* If the given architecture doesn't have lock-free implementation of
e1f61e
   boost::atomic_flag, the dependency on Boost.Atomic may leak from
e1f61e
   the header files to client binaries.  */
e1f61e
e1f61e
INPUT(libboost_atomic.so.VERSION)
e1f61e
])dnl