aboutsummaryrefslogtreecommitdiff
path: root/paludis/digests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/digests/Makefile.am')
-rw-r--r--paludis/digests/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/paludis/digests/Makefile.am b/paludis/digests/Makefile.am
index 7d82bf4..195988b 100644
--- a/paludis/digests/Makefile.am
+++ b/paludis/digests/Makefile.am
@@ -11,13 +11,15 @@ paludis_digests_include_HEADERS = \
rmd160.hh \
md5.hh
-libpaludisdigests_a_SOURCES = \
+libpaludisdigests_la_SOURCES = \
$(paludis_digests_include_HEADERS) \
sha256.cc \
rmd160.cc \
md5.cc
-lib_LIBRARIES = libpaludisdigests.a
+libpaludisdigests_la_LDFLAGS = -version-info @VERSION_LIB_CURRENT@:@VERSION_LIB_REVISION@:0
+
+lib_LTLIBRARIES = libpaludisdigests.la
TESTS = sha256_TEST rmd160_TEST md5_TEST
EXTRA_DIST = sha256_TEST.cc rmd160_TEST.cc md5_TEST.cc
@@ -28,14 +30,14 @@ AM_CXXFLAGS = -I$(top_srcdir)
sha256_TEST_SOURCES = sha256_TEST.cc
sha256_TEST_CXXFLAGS = -I$(top_srcdir)
-sha256_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.a
+sha256_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.la
rmd160_TEST_SOURCES = rmd160_TEST.cc
rmd160_TEST_CXXFLAGS = -I$(top_srcdir)
-rmd160_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.a
+rmd160_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.la
md5_TEST_SOURCES = md5_TEST.cc
md5_TEST_CXXFLAGS = -I$(top_srcdir)
-md5_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.a
+md5_TEST_LDADD = $(top_builddir)/test/libtest.a libpaludisdigests.la