core: Install unversioned .so, and kill .la file

This avoids Yocto barfing on a versioned shared library symbolic link
without a -dev package.
This commit is contained in:
Colin Walters 2011-12-18 18:37:48 -05:00
parent 11d57d63e3
commit 557487b1c7

View File

@ -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