Blame SPECS/libboost_thread.so

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