From 3ac841d93176df4d1245643568fe55c12e200fd2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 29 Nov 2011 18:25:07 -0500 Subject: [PATCH] core: Make libostree.so an installed library This will make it easier to have multiple binaries. --- Makefile-libostree.am | 2 +- Makefile.am | 2 ++ configure.ac | 5 ++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile-libostree.am b/Makefile-libostree.am index 091d152a..bf53cc3b 100644 --- a/Makefile-libostree.am +++ b/Makefile-libostree.am @@ -17,7 +17,7 @@ # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -noinst_LTLIBRARIES += libostree.la +privlib_LTLIBRARIES += libostree.la libostree_la_SOURCES = src/libostree/ostree.h \ src/libostree/ostree-core.c \ diff --git a/Makefile.am b/Makefile.am index 4fae1fbc..755e7f5f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,8 @@ bin_SCRIPTS = libexec_PROGRAMS = noinst_LTLIBRARIES = noinst_PROGRAMS = +privlibdir = $(pkglibdir) +privlib_LTLIBRARIES = include Makefile-daemon.am include Makefile-otutil.am diff --git a/configure.ac b/configure.ac index a98bd5f1..839abea7 100644 --- a/configure.ac +++ b/configure.ac @@ -19,9 +19,8 @@ changequote([,])dnl AC_SUBST(WARN_CFLAGS) # Initialize libtool -AC_PROG_LIBTOOL -LT_PREREQ([2.2]) -LT_INIT +LT_PREREQ([2.2.4]) +LT_INIT([disable-static]) PKG_PROG_PKG_CONFIG