summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-06 17:10:13 +0200
committerMichael Adam <obnox@samba.org>2011-05-13 17:45:01 +0200
commit5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec (patch)
tree7721f936a128b3a2f3ce29cddfee07fafb3d3fa6
parent4acb8c3f5976c5496aa666a52cd96739836ced2a (diff)
downloadsamba-5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec.tar.gz
samba-5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec.tar.bz2
samba-5bcc0b2138b60fcecea94093ca43aaca4bc4d4ec.zip
s3:build: install libtdb with full version number instead of only SO version
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 13 17:45:01 CEST 2011 on sn-devel-104
-rw-r--r--source3/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index fa6e112458..2ad1dc7d46 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)` ; \