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