Next: Libtool Issues, Previous: Libtool Flags, Up: A Shared Library
LTLIBOBJS
and LTALLOCA
Where an ordinary library might include ‘$(LIBOBJS)’ or ‘$(ALLOCA)’ (see LIBOBJS), 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
).