diff options
author | Michael Adam <obnox@samba.org> | 2011-05-06 17:10:13 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-15 20:22:28 +0200 |
commit | 4e3395d9c7d39f1dee0eaa2b0087ce11c91abf17 (patch) | |
tree | ff193365a51ace26b377a31a6da5f1eb30e532e8 | |
parent | 24202dc3bc028b40cf0978ca88fa353bd51ef223 (diff) | |
download | samba-4e3395d9c7d39f1dee0eaa2b0087ce11c91abf17.tar.gz |
s3:build: install libtalloc with full version number instead of only SO version
(cherry picked from commit 4acb8c3f5976c5496aa666a52cd96739836ced2a)
(cherry picked from commit 15502f3206a059a2fe7ced52e0450a57e375bd73)
-rw-r--r-- | source3/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 0eefcede819..a9f961faad1 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -2061,8 +2061,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)` ; \ |