Next: Common Issues Related to Libtool’s Use, Previous: _LIBADD and _LDFLAGS, Up: Building a Shared Library [Contents][Index]
LTLIBOBJS
and LTALLOCA
Where an ordinary library might include $(LIBOBJS)
or
$(ALLOCA)
(see Special handling for LIBOBJS
and ALLOCA
), a libtool library must use
$(LTLIBOBJS)
or $(LTALLOCA)
. 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).