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