aboutsummaryrefslogtreecommitdiff
path: root/paludis/args/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/args/Makefile.am')
-rw-r--r--paludis/args/Makefile.am12
1 files changed, 7 insertions, 5 deletions
diff --git a/paludis/args/Makefile.am b/paludis/args/Makefile.am
index ddfdac1..a112ff4 100644
--- a/paludis/args/Makefile.am
+++ b/paludis/args/Makefile.am
@@ -19,7 +19,7 @@ paludis_args_include_HEADERS = \
missing_value.hh \
args_dumper.hh
-libpaludisargs_a_SOURCES = $(paludis_args_include_HEADERS) \
+libpaludisargs_la_SOURCES = $(paludis_args_include_HEADERS) \
args.cc \
args_error.cc \
args_group.cc \
@@ -31,15 +31,17 @@ libpaludisargs_a_SOURCES = $(paludis_args_include_HEADERS) \
missing_value.cc \
args_dumper.cc
+libpaludisargs_la_LDFLAGS = -version-info @VERSION_LIB_CURRENT@:@VERSION_LIB_REVISION@:0
+
TESTS_ENVIRONMENT = env -u PALUDIS_OPTIONS TEST_SCRIPT_DIR="$(srcdir)/" bash $(top_srcdir)/test/run_test.sh
-lib_LIBRARIES = libpaludisargs.a
+lib_LTLIBRARIES = libpaludisargs.la
check_PROGRAMS = $(TESTS)
test_ldadd = \
$(top_builddir)/test/libtest.a \
- libpaludisargs.a \
- $(top_builddir)/paludis/libpaludis.a \
- $(top_builddir)/paludis/util/libpaludisutil.a
+ libpaludisargs.la \
+ $(top_builddir)/paludis/libpaludis.la \
+ $(top_builddir)/paludis/util/libpaludisutil.la
args_TEST_SOURCES = args_TEST.cc
args_TEST_LDADD = $(test_ldadd)