Implement the LOADABLE_MODULE option when building a shared library. This
authorReid Spencer <rspencer@reidspencer.com>
Tue, 11 Jan 2005 04:31:07 +0000 (04:31 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 11 Jan 2005 04:31:07 +0000 (04:31 +0000)
commit492c2935be35b75c77ab8db19b63fca812ebea5c
tree12d2fae94b36d151dfe0d60be68680c371b4ec1b
parenta8d9cc870593d3e915ac9184dc0daf1783d4f8a4
Implement the LOADABLE_MODULE option when building a shared library. This
passes the -module option on the libtool command line to ensure that the
shared library being built can be dlopened and dlsym can work on that
module. LOADABLE_MODULE should be sent only in conjunction with the
SHARED_LIBRARY directive. It should generally be used for any module that
is intended to be the target of an LLVM -load option. Note that loadable
modules will not have the lib prefix but otherwise look like shared
libraries. This is per the libtool recommendations and prevents these
special shared libraries from being linked in via -l option to the linker.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19454 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.rules