mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-25 16:00:24 +08:00
(cvs-diff): ditto (EXTRA_DIST): added README-alpha (DIST_SUBDIRS): added depdemo * README-alpha: minor adaptations * demo/Makefile.am, mdemo/Makefile.am, depdemo/Makefile.am: removed comment about special needs for distribution * depdemo/Makefile.am: don't generate dependencies * depdemo/configure.in: modified version number
This is GNU modular hell, an example package that uses GNU libtool with an Automake-generated environment to build two simple libraries and programs. It demonstrates how to build both dynamic and static libraries that can be dlopened. You'll need a wrapper (libltdl) for your dlopen functions. For static libraries we prefix all non-static symbols with libname___ using the LTEXP(symbol) macro. When dlopening these static libraries, we cut the prefix off to get the real name.