[vala/staging] codegen: Install as private library for sharing between internal components
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codegen: Install as private library for sharing between internal components
- Date: Sun, 19 Nov 2017 12:01:07 +0000 (UTC)
commit a47094666a5da31a513d5e44d5342ead8354a22e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Oct 13 16:04:44 2017 +0200
codegen: Install as private library for sharing between internal components
https://bugzilla.gnome.org/show_bug.cgi?id=788837
codegen/Makefile.am | 8 +++++++-
configure.ac | 1 +
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/codegen/Makefile.am b/codegen/Makefile.am
index 82defe4..3579eb9 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 c42c189..3471391 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]