[ostree] core: Make libostree.so an installed library



commit 3ac841d93176df4d1245643568fe55c12e200fd2
Author: Colin Walters <walters verbum org>
Date:   Tue Nov 29 18:25:07 2011 -0500

    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 091d152..bf53cc3 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 4fae1fb..755e7f5 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 a98bd5f..839abea 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]