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