[ostree] core: Install unversioned .so, and kill .la file



commit 557487b1c7ba03de269e394f111f8a05e80ba5e3
Author: Colin Walters <walters verbum org>
Date:   Sun Dec 18 18:37:48 2011 -0500

    core: Install unversioned .so, and kill .la file
    
    This avoids Yocto barfing on a versioned shared library symbolic link
    without a -dev package.

 Makefile-libostree.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-libostree.am b/Makefile-libostree.am
index b2b42c6..2fc7d93 100644
--- a/Makefile-libostree.am
+++ b/Makefile-libostree.am
@@ -38,9 +38,13 @@ libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
 endif
 
 libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_DEP_GIO_UNIX_CFLAGS)
+libostree_la_LDFLAGS = -avoid-version
 libostree_la_LIBADD = libotutil.la $(OT_DEP_GIO_UNIX_LIBS)
 
 if USE_LIBARCHIVE
 libostree_la_CFLAGS += $(OT_DEP_LIBARCHIVE_CFLAGS)
 libostree_la_LIBADD += $(OT_DEP_LIBARCHIVE_LIBS)
 endif
+
+install-data-hook:
+	rm $(DESTDIR)$(privlibdir)/libostree.la



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