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