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