diff options
author | Michael Adam <obnox@samba.org> | 2008-07-06 02:30:38 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-07 20:33:58 +0200 |
commit | 7a3e3f0a37160e46d10e74ecde5e1a2d075328ea (patch) | |
tree | 4f3bfcd86d61dcfba110071d0312390a5f5a41b0 | |
parent | 27ca5cd80afda786e65202ee10d5a9f6e002accf (diff) | |
download | samba-7a3e3f0a37160e46d10e74ecde5e1a2d075328ea.tar.gz samba-7a3e3f0a37160e46d10e74ecde5e1a2d075328ea.tar.bz2 samba-7a3e3f0a37160e46d10e74ecde5e1a2d075328ea.zip |
build: fix the installlibtalloc target to install SONAME and \.so versions of shared lib.
Michael
(This used to be commit 49919889892f258cc669b08417e7569e8f5efaf4)
-rw-r--r-- | source3/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 9c2100b4c1..a6b758cc04 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -2183,7 +2183,9 @@ installclientlib:: installdirs libsmbclient installlibtalloc:: installdirs libtalloc @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR) - -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET) $(DESTDIR)$(LIBDIR) + -$(INSTALLLIBCMD_SH) $(LIBTALLOC_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR) + @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` + -ln -s -f `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_SHARED_TARGET)` -$(INSTALLLIBCMD_A) $(LIBTALLOC_STATIC_TARGET) $(DESTDIR)$(LIBDIR) @$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include -$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTALLOC_HEADERS) $(DESTDIR)${prefix}/include |