summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codegen/Makefile.am8
-rw-r--r--configure.ac1
2 files changed, 8 insertions, 1 deletions
diff --git a/codegen/Makefile.am b/codegen/Makefile.am
index 82defe454..3579eb9b0 100644
--- a/codegen/Makefile.am
+++ b/codegen/Makefile.am
@@ -12,10 +12,16 @@ AM_CPPFLAGS = \
BUILT_SOURCES = codegen.vala.stamp
-noinst_LTLIBRARIES = \
+libvalaccodegen_la_LTLIBRARIES = \
libvalaccodegen.la \
$(NULL)
+libvalaccodegen_ladir = $(pkglibdir)
+
+libvalaccodegen_la_LDFLAGS = \
+ -avoid-version \
+ $(NULL)
+
libvalaccodegen_la_VALASOURCES = \
valaccodearraymodule.vala \
valaccodeassignmentmodule.vala \
diff --git a/configure.ac b/configure.ac
index c42c189ed..3471391ff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,6 +25,7 @@ AC_DEFINE_UNQUOTED(PACKAGE_SUFFIX, "$PACKAGE_SUFFIX", [Define to the suffix of t
program_transform_name="s,\$\$,${PACKAGE_SUFFIX},"
AC_SUBST(pkgdatadir, [${datadir}/vala${PACKAGE_SUFFIX}])
+AC_SUBST(pkglibdir, [${libdir}/vala${PACKAGE_SUFFIX}])
# Checks for programs.
AC_PROG_CC