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