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 16:42:25 +0200
commit4acb8c3f5976c5496aa666a52cd96739836ced2a (patch)
tree8a00d18093d110a76737fc9d8513a6ac1b4ca4b0
parentd04efc703ba0f195fcef832a30b27a160a787413 (diff)
downloadsamba-4acb8c3f5976c5496aa666a52cd96739836ced2a.tar.gz
samba-4acb8c3f5976c5496aa666a52cd96739836ced2a.tar.bz2
samba-4acb8c3f5976c5496aa666a52cd96739836ced2a.zip
s3:build: install libtalloc with full version number instead of only SO version
-rw-r--r--source3/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 032232d14b..fa6e112458 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2067,8 +2067,13 @@ cleanlibtalloc::
installlibtalloc:: installdirs libtalloc
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
- -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
+ -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_FULLVER) $(DESTDIR)$(LIBDIR)
@rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)`
+ @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)`
+ -if test -r $(LIBTALLOC_SHARED_TARGET_FULLVER) ; then \
+ ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_FULLVER)` \
+ $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET_SONAME)` ; \
+ fi
-if test -r $(LIBTALLOC_SHARED_TARGET_SONAME) ; then \
ln -f -s `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` \
$(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` ; \