Next: , Previous: , Up: Building a Shared Library   [Contents][Index]


9.3.6 Libtool Modules

These are libtool libraries meant to be dlopened. They are indicated to libtool by passing -module at link-time.

pkglib_LTLIBRARIES = mymodule.la
mymodule_la_SOURCES = doit.c
mymodule_LDFLAGS = -module

Ordinarily, Automake requires that a Library’s name starts with ‘lib’. However, when building a dynamically loadable module you might wish to use a "nonstandard" name.