From db8cd743cbf5fbaca2ccda31619244ff4a83b6ee Mon Sep 17 00:00:00 2001 From: Brian Lu Date: Thu, 17 Dec 2009 14:39:09 +0800 Subject: [PATCH] tdb: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details --- 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 267c2d1..81628e6 100644 --- a/lib/tdb/tdb.mk +++ b/lib/tdb/tdb.mk @@ -78,6 +78,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) -- 1.5.6.5