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