From 5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 6 May 2011 17:10:13 +0200 Subject: [PATCH] s3:build: install libtdb with full version number instead of only SO version Autobuild-User: Michael Adam Autobuild-Date: Fri May 13 17:45:01 CEST 2011 on sn-devel-104 --- source3/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source3/Makefile.in b/source3/Makefile.in index fa6e1124587..2ad1dc7d467 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -2162,8 +2162,13 @@ cleanlibtdb:: installlibtdb:: installdirs libtdb @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) - -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) + -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR) @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` + @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` + -if test -r $(LIBTDB_SHARED_TARGET_FULLVER) ; then \ + ln -f -s `basename $(LIBTDB_SHARED_TARGET_FULLVER)` \ + $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET_SONAME)` ; \ + fi -if test -r $(LIBTDB_SHARED_TARGET_SONAME) ; then \ ln -f -s `basename $(LIBTDB_SHARED_TARGET_SONAME)` \ $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \ -- 2.11.4.GIT