Next: Common Issues Related to Libtool’s Use, Previous: _LIBADD and _LDFLAGS, Up: Building a Shared Library [Contents][Index]
LTLIBOBJS
Where an ordinary library might include $(LIBOBJS)
, a libtool
library must use $(LTLIBOBJS)
. This is required because the
object files that libtool operates on do not necessarily end in
.o.
Nowadays, the computation of LTLIBOBJS
from LIBOBJS
is
performed automatically by Autoconf (see AC_LIBOBJ
vs. LIBOBJS
in The Autoconf Manual).