diff options
author | Brian Lu <brian.lu@sun.com> | 2009-12-17 14:39:09 +0800 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-01-06 14:27:50 +0100 |
commit | 0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89 (patch) | |
tree | 502f2ae2d692021c5230b9d71b19e105793d0170 /lib/tdb | |
parent | eff6022d51f578dfc48f1d66dd8ec1e860dfd7b3 (diff) | |
download | samba-0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89.tar.gz samba-0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89.tar.bz2 samba-0a3a6bb8f910df02cb429fdeacf0ab8d683e0b89.zip |
tdb: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/tdb')
-rw-r--r-- | lib/tdb/tdb.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tdb/tdb.mk b/lib/tdb/tdb.mk index 93aa899480..3bda884af4 100644 --- a/lib/tdb/tdb.mk +++ b/lib/tdb/tdb.mk @@ -91,6 +91,10 @@ installheaders:: installdirs installlibs:: all installdirs cp tdb.pc $(DESTDIR)$(libdir)/pkgconfig cp $(TDB_STLIB) $(TDB_SOLIB) $(DESTDIR)$(libdir) + rm -f $(DESTDIR)$(libdir)/libtdb.$(SHLIBEXT) + ln -s $(TDB_SOLIB) $(DESTDIR)$(libdir)/libtdb.$(SHLIBEXT) + rm -f $(DESTDIR)$(libdir)/$(TDB_SONAME) + ln -s $(TDB_SOLIB) $(DESTDIR)$(libdir)/$(TDB_SONAME) $(TDB_STLIB): $(TDB_OBJ) ar -rv $(TDB_STLIB) $(TDB_OBJ) |