From: Jan Engelhardt Date: 2011-09-26 14:47:01.350702632 +0200 Upstream: dead Replace ye olde static libs with shared libs. --- configure.in | 3 ++- lib-src-gmp/Makefile.am | 4 ++-- lib-src/Makefile.am | 4 ++-- src-gmp/Makefile.am | 2 +- src/Makefile.am | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) Index: cddlib-094f/configure.in =================================================================== --- cddlib-094f.orig/configure.in +++ cddlib-094f/configure.in @@ -7,7 +7,8 @@ AM_INIT_AUTOMAKE(cddlib, 0.94) dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL -AC_PROG_RANLIB +AC_DISABLE_STATIC +LT_INIT dnl Checks for libraries. dnl Replace `main' with a function in -lg: Index: cddlib-094f/lib-src-gmp/Makefile.am =================================================================== --- cddlib-094f.orig/lib-src-gmp/Makefile.am +++ cddlib-094f/lib-src-gmp/Makefile.am @@ -1,6 +1,6 @@ -lib_LIBRARIES = libcddgmp.a +lib_LTLIBRARIES = libcddgmp.la -libcddgmp_a_SOURCES = \ +libcddgmp_la_SOURCES = \ cddcore.c \ cddlp.c \ cddmp.c \ Index: cddlib-094f/lib-src/Makefile.am =================================================================== --- cddlib-094f.orig/lib-src/Makefile.am +++ cddlib-094f/lib-src/Makefile.am @@ -1,6 +1,6 @@ -lib_LIBRARIES = libcdd.a +lib_LTLIBRARIES = libcdd.la -libcdd_a_SOURCES = \ +libcdd_la_SOURCES = \ cddcore.c \ cddlp.c \ cddmp.c \ Index: cddlib-094f/src-gmp/Makefile.am =================================================================== --- cddlib-094f.orig/src-gmp/Makefile.am +++ cddlib-094f/src-gmp/Makefile.am @@ -29,7 +29,7 @@ testlp2_gmp_SOURCES = tes testlp3_gmp_SOURCES = testlp3.c # cddmathlink_SOURCES = cddmathlink.c cddmlio.h cddmlio.c -LDADD = ../lib-src-gmp/libcddgmp.a +LDADD = ../lib-src-gmp/libcddgmp.la AM_LDFLAGS = -L$(gmplibdir) INCLUDES = -I../lib-src-gmp INCLUDES += -I$(gmpincludedir) Index: cddlib-094f/src/Makefile.am =================================================================== --- cddlib-094f.orig/src/Makefile.am +++ cddlib-094f/src/Makefile.am @@ -29,6 +29,6 @@ testlp2_SOURCES = testlp2 testlp3_SOURCES = testlp3.c # cddmathlink_SOURCES = cddmathlink.c cddmlio.h cddmlio.c -LDADD = ../lib-src/libcdd.a +LDADD = ../lib-src/libcdd.la INCLUDES = -I../lib-src AM_CPPFLAGS = -UGMPRATIONAL