[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ transition stumbling blocks?



Scott James Remnant <scott@netsplit.com> writes:
> > Can you tell it to not use/produce shared libraries at all (e.g., just
> > use traditional static libraries)?
>
> If you're using libtool from within automake:
> 
> lib_LTLIBRARIES = libhello.la
> libhello_la_LDFLAGS = -static

Actually I think the problem was that the package I had problems with
had been distributed with a very old version of libtool; after updating
to something more recent, I can use the --disable-shared and --enable-static
configure switches to get what I want.

-Miles
-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research



Reply to: