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

Re: Automake help with libGenome



On Fri, Feb 15, 2008 at 05:23:44PM +0100, Andreas Tille wrote:

> I found out that the soname of the library gets the version added twice
> and this the resulting package name would be libgenome-1.3-1.3-1.  To
> prevent this I applied the following patch
>
> --- libGenome/Makefile.am.orig  2007-01-31 06:39:56.000000000 +0100
> +++ libGenome/Makefile.am       2008-02-15 14:15:11.000000000 +0100
> @@ -35,9 +35,9 @@
>
>  library_include_HEADERS = $(LIBGENOME_H)
>
> -lib_LTLIBRARIES = libGenome-1.3.la
> -libGenome_1_3_la_SOURCES = $(LIBGENOME_SRC)
> -libGenome_1_3_la_LDFLAGS= -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE)
> +lib_LTLIBRARIES = libGenome.la
> +libGenome_la_SOURCES = $(LIBGENOME_SRC)
> +libGenome_la_LDFLAGS= -version-info $(GENERIC_LIBRARY_VERSION) -release $(GENERIC_RELEASE)
>
>
> and runned autoreconf.
> On one hand this had the expected result but now the build process does
> not add the extension '.so' any more.

I wouldn't expect your changes to suppress building the shared library.
The only thing I can think of is that somehow you did not configure
with --enable-shared.  Maybe the default somehow got changed from
"build shared" to "do not build shared"?  You can check that using
"./configure --help".

-S

Attachment: signature.asc
Description: Digital signature


Reply to: