summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 14:42:30 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:33:59 +0200
commit8583d07b75926ac2603b7c45f773fcafc3f0772f (patch)
tree0e2b4f467cbdd19a6a7e5cd7e433d93163603a98 /source3
parent302e9ca2eb24fe33c46e421ed5cf845de0578e96 (diff)
downloadsamba-8583d07b75926ac2603b7c45f773fcafc3f0772f.tar.gz
samba-8583d07b75926ac2603b7c45f773fcafc3f0772f.tar.bz2
samba-8583d07b75926ac2603b7c45f773fcafc3f0772f.zip
build: fix the installlibtdb target to install the soname file of libtdb.
and create the .so file as a symlink (if appropriate) Michael (This used to be commit 5c090762f769b645c411333aef2085362bb2e6cb)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 78a4d196db..5d0cce479d 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1701,7 +1701,12 @@ cleanlibtdb::
installlibtdb:: installdirs libtdb
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) $(LIBDIR)
- -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET) $(DESTDIR)$(LIBDIR)
+ -$(INSTALLLIBCMD_SH) $(LIBTDB_SHARED_TARGET_SONAME) $(DESTDIR)$(LIBDIR)
+ @rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)`
+ -if test -e $(LIBTDB_SHARED_TARGET_SONAME) ; then \
+ ln -s -f `basename $(LIBTDB_SHARED_TARGET_SONAME)` \
+ $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_SHARED_TARGET)` ; \
+ fi
-$(INSTALLLIBCMD_A) $(LIBTDB_STATIC_TARGET) $(DESTDIR)$(LIBDIR)
@$(SHELL) $(srcdir)/script/installdirs.sh $(INSTALLPERMS_BIN) $(DESTDIR) ${prefix}/include
-$(INSTALLCMD) -m $(INSTALLPERMS_DATA) $(LIBTDB_HEADERS) $(DESTDIR)${prefix}/include