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