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

Re: Looking for help using libtool



On Thu, Apr 20, 2000 at 08:21:22AM +0000, W. Borgert wrote:
> I just try to debianize a library, that builds only .a libraries.  Because
> Debian library packages should come with .so libs, I want to change the
> Makefiles, so that libtool is used.

You don't need libtool to build so libs, just different linker line.
E.g.:

gcc -shared -Wl,-soname,libwhatever.so.0 -o libwhatever.so.0.0.0 $(OBJS)

Of course, replace whatever and the numbers with the corresponding data from
your library. $(OBJS) is the list of all object files (*.o), YMMV.

-- 
Digital Electronic Being Intended for Assassination and Nullification


Reply to: