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